RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTBButtonEvent Type

TTBButtonEvent is the type of event handlers that respond when the user adds or deletes a tool button in the toolbar customize dialog.

Pascal
TTBButtonEvent = procedure (Sender: TToolbar; Button: TToolButton) of object;
C++
(Sender: TToolbar; Button: TToolButton) ( TTBButtonEvent)();

ComCtrls

TTBButtonEvent is the type for the OnCustomizeAdded and 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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!