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


Sets titlebar separator style.

Component Version macOS Windows Linux Server iOS SDK
Window 11.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Window.SetTitlebarSeparatorStyle"; WindowRef; Mode )   More


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
Mode The new mode.
Value can be Automatic, None, Line or Shadow.


Returns OK or error.


Sets titlebar separator style.
The type of separator that the app displays between the title bar and content of a window.
Requires macOS 11.0 or newer.

AutomaticA style indicating that the system determines the type of separator.
LineA style indicating that the title bar separator is a line.
NoneA style indicating that there’s no title bar separator.
ShadowA style indicating that the title bar separator is a shadow.


Set titlebar separator:

Set Variable [ $r ; Value: MBS( "Window.SetTitlebarSeparatorStyle"; 0 /* current */; "Line" ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 29th November 2020, last changed 11st January 2021

Window.SetTitlebarAppearsTransparent - Window.SetToolbarConfiguration