Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Window.SetTitlebarAppearsTransparent

Sets titlebar transparency.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Window 6.0 Yes No No No No

MBS( "Window.SetTitlebarAppearsTransparent"; WindowRef; Value )

Parameters

Parameter Description Example value
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0
Value The new visible setting.
Pass 1 to make transparent.
Pass 0 to make opaque.
1

Result

Returns OK or error.

Description

Sets titlebar transparency.
When 1, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when being full screen.

Examples

Set titlebar invisible and resize content to fill space:

Set Variable [$r; Value:MBS("Window.SetTitlebarAppearsTransparent"; 0; 1)]
Set Variable [$r; Value:MBS("Window.ResizeContentView"; 0; 0; 0; 0; 22)]

See also


Window.SetTitleVisible   -   Window.SetToolbarConfiguration

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos