Purpose
Shows or hides the menu bar. You can issue this statement from the MapBasic window in MapInfo Pro.
Syntax
Menu Bar { Hide | Show }
Description
The Menu Bar statement shows or hides MapInfo Pro's menu bar. An application might hide the menu bar in order to provide more screen room for windows.
Following a Menu Bar Hide statement, the menu bar remains hidden until a Menu Bar Show statement is executed. Since users can be severely handicapped without the menu bar, you should be very careful when using the Menu Bar Hide statement. Every Menu Bar Hide statement should be followed (eventually) by a Menu Bar Show statement.
While the menu bar is hidden, MapInfo Pro ignores any menu-related hotkeys. For example, an MapInfo Pro user might ordinarily press Ctrl+O to bring up the Open dialog box; but while the menu bar is hidden, MapInfo Pro ignores the Ctrl+O hotkey.
See Also:
Alter Menu Bar statement, Create Menu Bar statement