RAD Studio VCL Reference
|
TCoolBar displays a collection of windowed controls within movable, resizable bands.
TCoolBar = class(TToolWindow);
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.
Adding a Speed Button to a Panel
Adding a Toolbar Using a Panel Component
Adding a Toolbar Using the Toolbar Component
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
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|