Vcl.ComCtrls.TToolBar.OnCustomizeNewButton
Delphi
property OnCustomizeNewButton: TTBNewButtonEvent read FOnCustomizeNewButton write FOnCustomizeNewButton;
C++
__property TTBNewButtonEvent OnCustomizeNewButton = {read=FOnCustomizeNewButton, write=FOnCustomizeNewButton};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Occurs when the user tries to add a new button to the tool bar.
Write an OnCustomizeNewButton event handler to supply your own TToolButton objects to represent the tool buttons that a user adds in the toolbar customize dialog.
OnCustomizeNewButton is an event handler of type Vcl.ComCtrls.TTBNewButtonEvent.