RAD Studio
ContentsIndex
PreviousUpNext
Adding a Toolbar Using the Toolbar Component

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:

TToolBar 

TCoolBar 

TPanel 

TToolButton 

TSpeedButton

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!