Vcl.ComCtrls.TToolBar.OnCustomizeDelete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCustomizeDelete: TTBButtonEvent read FOnCustomizeDelete write FOnCustomizeDelete;

C++

__property TTBButtonEvent OnCustomizeDelete = {read=FOnCustomizeDelete, write=FOnCustomizeDelete};

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

Description

Occurs when the user deletes a button from the toolbar.

Write an OnCustomizeDelete event handler to respond when the user deletes a tool button by dragging it off the toolbar when the SHIFT key is pressed or by using the toolbar customize dialog.

This event occurs after the button has been removed from the toolbar. To respond before the button is being deleted, possibly preventing the user from deleting the button, use the OnCustomizeCanDelete event instead.

OnCustomizeDelete is an event handler of type Vcl.ComCtrls.TTBButtonEvent.

See Also