Adding a Toolbar Using the Toolbar Component

From RAD Studio
Jump to: navigation, search

Go Up to Designing Toolbars and Cool Bars


The toolbar component (TToolBar) offers button management and display features that panel components do not.

To add a toolbar to a form using the toolbar component

  1. Add a toolbar component to the form (from the Win32/Common Controls category of the Tool palette). The toolbar automatically aligns to the top of the form.
  2. Add tool buttons or other controls to the bar.

Tool buttons are designed to work on toolbar components. Like speed buttons, tool buttons can:

  • Act like regular pushbuttons.
  • Toggle on and off when clicked.
  • Act like a set of radio buttons.

To implement tool buttons on a toolbar, do the following:

See Also