Assigning a Menu to a Tool Button
Go Up to Responding to Clicks
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
- Select the tool button.
- 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.