Reference > Script steps reference > Windows script steps > Show/Hide Menubar
 
Show/Hide Menubar
Purpose 
Shows or hides the menu bar in FileMaker WebDirect and FileMaker Go.
See also 
Format 
Show/Hide Menubar [Lock; Show/Hide/Toggle]
Options 
Lock prevents the state of the menu bar from being changed (FileMaker Go only).
Show tells FileMaker WebDirect or FileMaker Go to show the menu bar.
Hide tells FileMaker WebDirect or FileMaker Go to hide the menu bar.
Toggle switches between showing and hiding the menu bar.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
No 
FileMaker Server 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
Yes 
Runtime solution 
No 
Originated in 
FileMaker Pro 13.0
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 [Hide]
Show/Hide Toolbars [Hide]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)