Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Window.GetToolbarDisplayMode
Queries mode of Mac toolbar.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 11.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "Window.GetToolbarDisplayMode"; WindowRef ) 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 |
Result
Returns mode or error.
Description
Queries mode of Mac toolbar.Value can be Default, IconAndLabel, IconOnly or LabelOnly.
Default in FileMaker is IconAndLabel.
Examples
Query toolbar display mode:
Set Variable [ $DisplayMode ; Value: MBS( "Window.GetToolbarDisplayMode"; 0 /* current */ ) ]
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
This function checks for a license.
Created 29th November 2020, last changed 11st January 2021
Window.GetToolbarCustomizationPaletteIsRunning - Window.GetToolbarStyle
