Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Window.SetTitlebarAppearsTransparent

Sets titlebar transparency.

Component Version macOS Windows Linux Server 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

Blog Entries

This function checks for a license.

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


Window.SetTitleVisible - Window.SetTitlebarSeparatorStyle