Vcl.ComCtrls.TTBButtonEvent
C++
typedef void __fastcall (__closure *TTBButtonEvent)(TToolBar* Sender, TToolButton* Button);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.ComCtrls.hpp | Vcl.ComCtrls | Vcl.ComCtrls |
Description
TTBButtonEvent is the type of event handlers that respond when the user adds or deletes a tool button in the toolbar customize dialog.
TTBButtonEvent is the type for the Vcl.ComCtrls.TToolBar.OnCustomizeAdded and Vcl.ComCtrls.TToolBar.OnCustomizeDelete events. It allows a toolbar to respond to notifications of changes that the user makes to the items in the toolbar.
Sender is the toolbar whose button was just added or deleted.
Button is the button that was just added or deleted.