Show: Delphi C++
Display Preferences


From RAD Studio API Documentation
Jump to: navigation, search



TToolBar = class(TToolWindow)


class PASCALIMPLEMENTATION TToolBar : public Vcl::Toolwin::TToolWindow


Type Visibility Source Unit Parent
class public
Vcl.ComCtrls Vcl.ComCtrls


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

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.

See Also

Personal tools
In Other Languages
Previous Versions