RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.OnCustomizeDelete Event

Occurs when the user deletes a button from the toolbar.

Pascal
property OnCustomizeDelete: TTBButtonEvent;
C++
__property TTBButtonEvent OnCustomizeDelete;

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 depressed 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 deleting, possibly preventing the user from deleting the button, use the OnCustomizeCanDelete event instead. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!