RAD Studio
ContentsIndex
PreviousUpNext
Assigning a Menu to a Tool Button

If you are using a toolbar (TToolBar) with tool buttons (TToolButton), you can associate menu with a specific button:

To assign a menu to a tool button

  1. Select the tool button.
  2. In the Object Inspector, assign a pop-up menu (TPopupMenu) to the tool button's DropDownMenu property.
If the menu's AutoPopup property is set to True, it will appear automatically when the button is pressed.

TToolBar 

TCoolBar 

TPanel 

TToolButton 

TSpeedButton

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