OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Class TControlBar

The class TControlBar implements a control bar similar to the tool bar or control bar found along the top of the window of many popular applications.

You can place any type of gadget in a control bar.

Here's the constructor for TControlBar:

TControlBar(TWindow* parent = 0,
TTileDirection direction = Horizontal,
TFont* font = new TGadgetWindowFont,
TModule* module = 0);

The parameters are described in the following table:

ParameterDescription
parentA pointer to the control bar's parent window.
directionAn enum TTileDirection. There are two possible values for direction: Horizontal or Vertical.
font

A pointer to a TFont object that contains the font for the gadget window.

By default, font is set to TGadgetWindowFont, which is a variable-width sans-serif font, usually Helvetica.

modulePassed as the TModule parameter for the TDialog base constructor. Defaults to 0.