Vcl.ComCtrls.TToolBar.CancelMenu
Delphi
procedure CancelMenu; dynamic;
C++
DYNAMIC void __fastcall CancelMenu();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Called when the menu associated with a toolbar button is canceled.
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.