Vcl.ComCtrls.TToolBar.InitMenu
Delphi
procedure InitMenu(Button: TToolButton); dynamic;
C++
DYNAMIC void __fastcall InitMenu(TToolButton* Button);
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 drop-down toolbar button is about to be displayed.
InitMenu initializes the highlighting and hot-tracking for the drop-down menu associated with the tool button that Button specifies.
Override InitMenu in a derived class to perform other initializations to the toolbar button's menu.