Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Window.SetToolbarVisible

Sets whether the toolbar is visible or hidden.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Toolbar Window 4.3 Yes No No No No
MBS( "Window.SetToolbarVisible"; WindowRef; State )   More

Parameters

Parameter Description Example value
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 20th August 2014


Window.SetToolbarConfiguration   -   Window.SetTopMost

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins