Vcl.ComCtrls.TToolBar.CheckMenuDropdown
Delphi
function CheckMenuDropdown(Button: TToolButton): Boolean; dynamic;
C++
DYNAMIC bool __fastcall CheckMenuDropdown(TToolButton* Button);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Displays a toolbar button's drop-down menu.
CheckMenuDropdown is called automatically when the drop-down arrow portion of a toolbutton is clicked or if a toolbutton has an assigned MenuItem property.
Button is the drop-down toolbar button that was clicked.
CheckMenuDropdown has no effect unless the button's Style property contains tbsDropDown.