Reference > Script steps reference > Windows script steps > Show/Hide Menubar
 

Show/Hide Menubar

Shows or hides the menu bar.

See also 

Options 

Lock prevents the state of the menu bar from being changed (FileMaker Go only).

Show shows the menu bar.

Hide hides the menu bar.

Toggle switches between showing and hiding the menu bar.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Partial 

FileMaker Go 

Yes 

FileMaker WebDirect 

Partial 

FileMaker Server 

No 

FileMaker Cloud 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

Partial 

Originated in 

FileMaker Pro 13.0

Notes 

This script step is not supported in macOS or when the active window is a card, and returns an error code. The code can be captured with the Get(LastError) function.

Example 1 

If the Guest account is logged in, goes to the Invoices layout and hides the menu bar and status toolbar.

If [Get ( AccountName ) = "[Guest]"]
Go to Layout ["Invoices"]
Show/Hide Menubar [Lock: Off ; Hide]
Show/Hide Toolbars [Hide]
End If

Related topics 

Script steps reference (alphabetical list)

Script steps reference (category list)