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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  


Sets whether toolbar on/off button should be shown or not.

Component Version macOS Windows Linux Server iOS SDK License
Toolbar Window 2.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No Paid
MBS( "Window.SetShowsToolbarButton"; WindowRef; Value )   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
Value Whether to ignore mouse events or not. Pass 1 to ignore mouse events or 0 to not ignore mouse events. 1


Returns "OK" on success.


Sets whether toolbar on/off button should be shown or not.


Hide toolbar button for frontmost window:

MBS("Window.SetShowsToolbarButton"; 0; 0)

Show toolbar button for window:

MBS("Window.SetShowsToolbarButton"; $WindowRef; 1)

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 20th August 2014

Window.SetShadow - Window.SetTag

Feedback: Report problem or ask question.

Start Chat