Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Window.SetTitlebarAppearsTransparent

Sets titlebar transparency.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Window 6.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No

Deprecated

This function was deprecated.

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

Parameters

Parameter Description Example
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

Release notes

  • Version 11.2
    • Deprecated Window.ResizeContentView, Window.GetTitlebarAppearsTransparent and Window.SetTitlebarAppearsTransparent functions.

Blog Entries

Created 16th January 2016, last changed 7th April 2021


Window.SetTitleVisible   -   Window.SetTitlebarSeparatorStyle

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos

Start Chat