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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Window.SetToolbarVisible
Sets whether the toolbar is visible or hidden.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
- Window.FindByIndex
- Window.FindByTitle
- Window.GetTitleVisible
- Window.GetToolbarStyle
- Window.GetToolbarVisible
- Window.ScrollbarsVisible
- Window.SetTitleVisible
- Window.SetToolbarStyle
Example Databases
Created 19th August 2014, last changed 20th August 2014
Window.SetToolbarStyle - Window.SetTopMost
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins