Description

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.

Properties

 

Align

Left

Tag

BackColor

MouseIcon

ToolTipText

Description

MousePointer

Top

Enabled

Name

Visible

Font

Object

WhatsThisHelpId

Font3D

PaneCount

WhatsThisHelpText

Height

Panes

Width

HelpContextId

ShowToolTips

 

hWnd

SizingGrip

 

Methods

 

Clear

MovePane

ShowWhatsThis

InsertPane

RemovePane

ZOrder

Move

ShowHelpContext

 

Events

 

OnClick

OnMouseDown

OnPaneClick

OnDblClick

OnMouseMove

 OnPaneDblClick

OnHelpContext

OnMouseUp

 OnWhatsThisHelp

Constants

enumAMousePointer

Comments

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.