RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.CancelMenu Method

Called when the menu associated with a toolbar button is canceled.

Pascal
procedure CancelMenu; dynamic;
C++
__fastcall CancelMenu();

Override CancelMenu in a derived class to handle the canceling of a menu on one of the tool buttons. 

By default, CancelMenu clears the highlighting and hot item in the menu. 

 

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