ControlBar Control

Hierarchy: TObject - TPersistent - TComponent - TControl - TWinControl - TCustomControl - TCustomControlBar - TControlBar

The ControlBar, like the CoolBar, is a toolbar container, that is you place other toolbar components inside it. This provides an area within which toolbars and other controls can be selected and moved around. The Control Bar is similar to the Cool Bar, the difference being that the Cool Bar is a Win32 component, provided by Windows, while the Control Bar is a VCL (Delphi) control, hence their respective homes on the Component palettes.

Like the Coolbar, the ControlBar works best when buttons are placed on Toolbars rather than inserted separately. This is certainly true for toolbar buttons, though for other components you may choose to insert them as independent objects.

Back to Tutorial

Back to Palette List