RAD Studio VCL Reference
|
Called when the accelerator for a toolbar button is pressed.
function TrackMenu(Button: TToolButton): Boolean; dynamic;
__fastcall Boolean TrackMenu(TToolButton Button);
TrackMenu is called automatically in response to the accelerator on a toolbar button. It initializes the menu of a drop-down menu button, and forwards a click to the underlying Windows control.
Button is the toolbar button for which an accelerator was pressed.
Override TrackMenu in a derived class to perform additional actions when the accelerator for a toolbar button is pressed.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|