Purpose
Displays or hides the status bar, or displays a brief message on it. You can issue this statement from the MapBasic window in MapInfo Pro.
Syntax
StatusBar { Show | Hide }
[ Message message ]
[ ViewDisplayPopup { On | Off } ]
[ EditLayerPopup { On | Off } ]
message is a message to display on the status bar.
Description
Use the StatusBar statement to show or hide the status bar, or to display a brief message on the status bar.
To print a message to the status bar, use the optional Message clause.
StatusBar Message "Calculating coordinates..."
MapInfo Pro automatically updates the status bar as the user selects various buttons and menu items. Therefore, a message displayed on the status bar may disappear quickly. Therefore, you should not rely on status bar messages to display important prompts.
To display a message that does not disappear, use the Print statement to print a message to the Message window.
Use the ViewDisplayPopup parameter to allow the user to change view from the status bar. If this parameter is set to On, the user will be able to change the zoom level, scale, and cursor location settings from the status bar.
Use the EditLayerPopup parameter to allow the user to set the editable layer of a Map window from the status bar. If this parameter is set to On, the user will be able to select the editable layer from the status bar.
See Also:
Note statement, Print statement