OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Constructing and Destroying TStatusBar

The syntax for the TStatusBar constructor is

TStatusBar(TWindow* parent = 0,
TGadget::TBorderStyle borderStyle = TGadget::Recessed,
uint modeIndicators = 0,
TFont* font = new TGadgetWindowFont,
TModule* module = 0);

The constructor parameters are described in the following table:

ParameterDescription
parentA pointer to the parent window object.
styleAn enum TBorderStyle.
modeIndicators

Indicates which keyboard modes can be displayed in the status bar. A defined enum type called TModeIndicator provides the following values for this parameter:

  • ExtendSelection
  • CapsLock
  • NumLock
  • ScrollLock
  • Overtype
  • RecordingMacro

These values can be ORed together to indicate multiple keyboard mode indicators.

fontA pointer to a TFont object that contains the font for the gadget window.
modulePassed as the TModule parameter for the TDialog base constructor. Defaults to 0.

See Also