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

Window.SetToolbarVisible

Sets whether the toolbar is visible or hidden.

Component Version macOS Windows Linux Server iOS SDK
Toolbar Window 4.3 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Window.SetToolbarVisible"; WindowRef; State )   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
State The new state. Pass 0 to hide or 1 to show toolbar. 1

Result

Returns OK or error.

Description

Sets whether the toolbar is visible or hidden.

Examples

Show toolbar in current window:

MBS( "Window.SetToolbarVisible"; 0; 1 )

Hide toolbar in current window:

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

See also

Example Databases

Blog Entries

This function checks for a license.

Created 19th August 2014, last changed 13th May 2021


Window.SetToolbarStyle - Window.SetTopMost