Get(MenubarState)

Returns a number representing the current menu bar state.

Format 

Get ( MenubarState )

Parameters 

None

Data type returned 

number

Originated in version 

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 and FileMaker WebDirect, the menu bar is always unlocked.

Example 1 

Returns 1 when the menu bar is visible and unlocked.