StatusBar Class |
|
Namespace: VO
The StatusBar type exposes the following members.
| Name | Description | |
|---|---|---|
| AsString | ||
| ControlText |
A string representing a message associated with a control to be displayed on the status bar. This message takes priority over the StatusBar:PermanentText message.
| |
| DisabledKeyIndicatorColor |
The Color object that the status bar uses to indicate that a key is disabled. The default is gray.
| |
| ErrorMessageBeep |
A logical value determining whether a beep is sounded by the error system when an error occurs. TRUE turns beeping on; FALSE turns it off.
| |
| ErrorText |
A string representing an error message to be displayed on the status bar. This message takes priority over the StatusBar:ControlText and StatusBar:PermanentText messages.
| |
| HorizontalBorder |
A numeric value representing the width of the horizontal border between the top or bottom edge of the status bar and its items.
| |
| InsertMode |
A logical value indicating whether the program is in insert mode.
| |
| ItemBorder |
A numeric value representing the width of the borders between the status bar items.
| |
| KeyIndicatorColor |
The Color object that the status bar uses to indicate to the user that a key is in the on state.
| |
| Length |
A numeric value representing the number of characters in the message to be displayed on the status bar.
| |
| MenuText |
A string representing a message associated with a menu selection to be displayed on the status bar.
| |
| PermanentText |
A string representing the default message to be displayed on the status bar
| |
| Position |
A pair representing the coordinates to be shown in the status bar. The units you choose for coordinates are arbitrary.
| |
| TextValue |
A string representing the value held in the status bar.
(Overrides TextValue.) | |
| TimeOut |
A numeric value indicating the number of seconds a nonpermanent message is displayed on the status bar.
| |
| Transient |
A string representing an error message to be displayed on the status bar. This message takes priority over the StatusBar:ControlText and StatusBar:PermanentText messages.
| |
| VerticalBorder |
A numeric value representing the height of the vertical border between the left or right edge of the status bar and its items.
|
| Name | Description | |
|---|---|---|
| AddItem |
Add a new item to the status bar.
| |
| ClearItems |
Remove all of the status bar items.
| |
| Destroy |
Provide a method to de-instantiate a StatusBar object.
(Overrides Destroy.) | |
| Dispatch |
Provide the prototype dispatcher for events within the system when the control has focus; routing various events to their appropriate event handlers. (Overrides Dispatch(Usual).) | |
| DisplayKeyboard |
Enable the display of the keyboard state on the status bar.
| |
| DisplayMemory |
Enable the display of the virtual memory available, on the status bar. You must keep the display refreshed as necessary by calling StatusBar:RefreshMemoryDisplay().
| |
| DisplayMessage |
Enable the display of messages on the status bar.
| |
| DisplayPosition |
Enable the display of a coordinate pair on the status bar.
| |
| DisplayTime |
Enable the digital clock display on the status bar.
| |
| GetItemBoundingBox |
Get the bounding box that describes the area of a status bar item.
| |
| Hide |
Hide a status bar so it is not visible (until a subsequent call to StatusBar:Show()).
(Overrides Hide.) | |
| RefreshMemoryDisplay |
Cause the status bar to bring the display of virtual memory up-to-date.
| |
| setmessage |
Display a string in the main message area of the status bar.
| |
| SetPair |
Set a pair representing the coordinates to be shown in the status bar.
| |
| SetText |
Set text for a status bar item.
| |
| Show |
Display a status bar so it is visible.
(Overrides Show.) |
| You never create a status bar yourself. Instead, you ask the window to do it, by calling AppWindow:EnableStatusBar(). Once you pick up the status bar returned by that method, you can customize the status bar by invoking the various Display… methods of status bar. Note that, except for the time display, the status bar items require you to refresh them. For example, if you turn on the display of available virtual memory, you must call the StatusBar:RefreshMemoryDisplay() method whenever the application is about to embark on a "memory-hungry" task. Because you never create status bars, you also never destroy them—the window does that itself. |