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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


Window.SetToolbarStyle - Window.SetTopMost

Feedback: Report problem or ask question.