RAD Studio VCL Reference
TToolBar Class

TToolBar manages tool buttons and other controls, arranging them in rows and automatically adjusting their sizes and positions.

TToolBar = class(TToolWindow);
class TToolBar : public TToolWindow;

TToolBar is a container for tool buttons (TToolButton). It provides an easy way to arrange and manage visual controls. 

All tool buttons on a toolbar maintain a uniform width and height. 

Other controls can sit on a toolbar. These controls (which are held in place by invisible tool buttons) maintain a uniform height. 

Controls can automatically wrap around and start a new row when they do not fit horizontally on the toolbar. 

The Flat property allows the background to show through the toolbar and gives pop-up borders to the tool buttons. 

Spaces and dividers (which are in fact specially configured tool buttons) can group controls on the toolbar both visually and functionally. 

Typically, the tool buttons correspond to items in an application's menu and give the user more direct access to the application's commands. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!