Vcl.ComCtrls.TToolButton.MenuItem
Delphi
property MenuItem: TMenuItem read FMenuItem write SetMenuItem;
C++
__property Vcl::Menus::TMenuItem* MenuItem = {read=FMenuItem, write=SetMenuItem};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolButton |
Description
Specifies the menu item corresponding to the button.
Use MenuItem to get or set the menu item corresponding to the button.
Note: To use the tool button as a menu item, the Style property must be tbsDropDown. If you are using multiple drop-down tool buttons, set the Grouped property to true.