RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCoolBar Class

TCoolBar displays a collection of windowed controls within movable, resizable bands.

Pascal
TCoolBar = class(TToolWindow);
C++
class TCoolBar : public TToolWindow;

ComCtrls

TCoolBar is a wrapper class for a Windows rebar control, more commonly known as a CoolBar. A CoolBar contains child controls that can be moved and resized independently. Each control resides on an individual band, represented by a TCoolBand object listed in the Bands property. The user positions the controls by dragging the sizing grip to the left of each band. 

If its FixedSize property is true, a CoolBar can contain any kind control. If FixedSize is false, only wrapper controls (instances of TWinControl descendants) can appear on the CoolBar. 

To create a bar that acts as a docking site for tool bars and other controls, use TControlBar instead.

Note: TCoolBar requires version 4.70 or later of COMCTL32.DLL. This file, which usually resides in the WINDOWS\SYSTEM or WINDOWS\SYSTEM32 directory, is required at both design time and runtime. Contact Microsoft for information about deploying COMCTL32.DLL.
 

 

TCoolBand 

TCoolBands 

TControlBar 

Buttons and Similar Controls 

Cool Bars (VCL Only) 

Adding a Cool Bar Component 

Adding a Speed Button to a Panel 

Adding a Toolbar Using a Panel Component 

Adding a Toolbar Using the Toolbar Component 

Adding a Tool Button 

Adding Hidden Toolbars 

Allowing Toggle Buttons 

Allowing Toggled Tool Buttons 

Assigning a Menu to a Tool Button 

Assigning a Speed Button's Glyph 

Assigning Images to Tool Buttons 

Creating a Group of Speed Buttons 

Creating Groups of Tool Buttons 

Designing Toolbars and Cool Bars 

Hiding and Showing Toolbars 

Responding to Clicks 

Setting the Initial Condition of a Speed Button 

Setting Tool Button Appearance and Initial Conditions

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!