Show: Delphi C++
Display Preferences

Toolbar Controls

From RAD Studio
Jump to: navigation, search

Go Up to Types of Controls Index

Toolbars provide an easy way to arrange and manage visual controls. You can create a toolbar out of a panel component and speed buttons, or you can use the TToolBar component, then right-click and choose New Button to add buttons to the toolbar.

The TToolBar component has several advantages: buttons on a toolbar automatically maintain uniform dimensions and spacing; other controls maintain their relative position and height; controls can automatically wrap around to start a new row when they do not fit horizontally; and TToolBar offers display options like transparency, pop-up borders, and spaces and dividers to group controls.

You can use a centralized set of actions on toolbars and menus, by Using Action Lists or Setting Up Action Bands.

Toolbars can also parent other controls such as edit boxes, combo boxes, and so on.

See Also

Personal tools
In other languages