RAD Studio VCL Reference
TActionToolBar.OnControlCreated Event

Occurs when a control is created on the action band.

property OnControlCreated: TControlCreatedEvent;
__property TControlCreatedEvent OnControlCreated;

Write an OnControlCreated event handler to enhance or replace the type of UI element that is rendered on the action band. 

Sender is the action band component that just created a new control. 

AnItem is the new child control that was just created. The OnControlCreated event handler can initialize the properties of this control or replace it with a custom control. 


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