Vcl.ComCtrls.TToolBar.OnCustomizeAdded
Delphi
property OnCustomizeAdded: TTBButtonEvent read FOnCustomizeAdded write FOnCustomizeAdded;
C++
__property TTBButtonEvent OnCustomizeAdded = {read=FOnCustomizeAdded, write=FOnCustomizeAdded};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Occurs when the user adds a button to the toolbar.
Write an OnCustomizeAdded handler to respond when the user adds a new button to the toolbar using the toolbar customize dialog.
This event occurs after the new button is already added to the toolbar. To respond before the button is added, possibly even preventing the user from adding the button, use the OnCustomizeCanInsert event instead.
OnCustomizeAdded is an event handler of type Vcl.ComCtrls.TTBButtonEvent.