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

Window.SetShowsToolbarButton

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

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

Result

Returns "OK" on success.

Description

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

Examples

Hide toolbar button for frontmost window:

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

Show toolbar button for window:

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

See also

Blog Entries

This function checks for a license.

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


Window.SetShadow - Window.SetTag