Skip to main content
Version: Next

HIDE MENU BAR

HIDE MENU BAR

Does not require any parameters

This command is not thread-safe, it cannot be used in preemptive code.

Description

The HIDE MENU BAR command makes the menu bar invisible.

If the menu bar was already hidden, the command does nothing.

Example

The following method displays a record in full-screen display (Macintosh) until you click the mouse button:

 HIDE TOOL BAR
 HIDE MENU BAR
 Open window(-1;-1;1+Screen width;1+Screen height;Alternate dialog box)
 FORM SET INPUT([Paintings];"Full Screen 800")
 DISPLAY RECORD([Paintings])
 Repeat
    MOUSE POSITION($vlX;$vlY;$vlButton)
 Until($vlButton#0)
 CLOSE WINDOW
 SHOW MENU BAR
 SHOW TOOL BAR

Note: On Windows, the window will be limited to the bounds of the application window.

See also

HIDE TOOL BAR
SHOW MENU BAR
SHOW TOOL BAR