Vcl.Controls.TCustomControlAction.DropdownMenu
Delphi
property DropdownMenu: TPopupMenu read FDropdownMenu write SetDropdownMenu;
C++
__property Vcl::Menus::TPopupMenu* DropdownMenu = {read=FDropdownMenu, write=SetDropdownMenu};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TCustomControlAction |
Description
DropdownMenu specifies the pop-up menu assigned to the selected action.
Assign a value to DropdownMenu to specify the pop-up menu for the down arrow part of the control to which this action is associated. If the control supports this specific style (like bsSplitButton, for buttons), you can associate a drop-down menu to the action. The association causes the menu to appear when you click the down arrow.
Note: This is available for Windows Vista, Windows 7, or later Windows operating systems only.