RAD Studio
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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!