Reference > Functions reference > Get functions > Get(MenubarState)
 
Get(MenubarState)
Purpose 
Returns a number for the current menu bar state.
Format 
Get(MenubarState)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 14.0
Description 
In FileMaker Pro, FileMaker Go and FileMaker WebDirect, returns:
0 if the menu bar is hidden and unlocked
1 if the menu bar is visible and unlocked
2 if the menu bar is visible and locked
3 if the menu bar is hidden and locked
Notes
In FileMaker Pro, the Show/Hide Menubar script step is not supported.
Example 1 
Returns 1 when the menu bar is visible and unlocked.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas