RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.CheckMenuDropdown Method

Displays a toolbar button's drop-down menu.

Pascal
function CheckMenuDropdown(Button: TToolButton): Boolean; dynamic;
C++
__fastcall Boolean CheckMenuDropdown(TToolButton Button);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!