The AStatusBar control provides a window, usually at the bottom of a parent form, through which an application can display various kinds of status data. The AStatusBar can be divided up into a maximum of sixteen Panel objects that are contained in a Panels collection. For more information on panels, see the AStatusBarPane object.
|
|
||
|
|
|
|
An AStatusBar control consists of AStatusBarPane objects, each of which can contain text and/or a picture. Properties to control the appearance of individual panels include Width, Alignment (of text and pictures), and BorderStyle. Additionally, you can use one of nine values of the Style property to automatically display common data such as date, time, and keyboard states.
At design time, you can create panels and customize their appearance by setting values in the Panel tab of the Properties Page of the AStatusBar control. At run time, the Panel objects can be reconfigured to reflect different functions, depending on the state of the application. For detailed information about the properties, events, and methods of Panel objects, see the AStatusBarPane object.
An AStatusBar control typically displays information about an object being viewed on the form, the object's components, or contextual information that relates to that object's operation. The AStatusBar, along with other controls such as the AToolbar control, gives you the tools to create an interface that is economical and yet rich in information.