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.SetToolbarDisplayMode
Sets mode of Mac toolbar.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
Window | 11.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
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 |
Mode | The new mode. Value can be Default, IconAndLabel, IconOnly or LabelOnly. |
"IconAndLabel" |
Result
Returns OK or error.
Description
Sets mode of Mac toolbar.Default in FileMaker is IconAndLabel.
Examples
Set to show icons and labels:
Set Variable [ $r ; Value: MBS( "Window.SetToolbarDisplayMode"; 0; "IconAndLabel" ) ]
Set to show icons without labels:
Set Variable [ $r ; Value: MBS( "Window.SetToolbarDisplayMode"; 0; "IconOnly" ) ]
See also
Release notes
- Version 11.0
- Added Window.GetToolbarDisplayMode and Window.SetToolbarDisplayMode functions to configure macOS toolbar to show icons and/or labels.
Blog Entries
Created 29th November 2020, last changed 29th November 2020
Window.SetToolbarConfiguration - Window.SetToolbarStyle
Feedback: Report problem or ask question.

Links
MBS FileMaker Plugins