Show/Hide Menubar
Purpose 
Shows or hides the menu bar in FileMaker WebDirect.
Format 
Show/Hide Menubar [Show/Hide/Toggle]
Options 
 •
Show tells FileMaker WebDirect to show the menu bar.
 •
Hide tells FileMaker WebDirect 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 scheduled script 
No 
FileMaker Go 
No 
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