RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionToolBar.OnGetControlClass Event

Occurs when an item is to be placed on the action band.

Pascal
property OnGetControlClass: TGetControlClassEvent;
C++
__property TGetControlClassEvent OnGetControlClass;

Write an OnGetControlClass event handler to specify the class of item that the action band should create to represent a specified action client. 

Sender is the action band that needs to generate a child control to represent an action client. 

AnItem is the action client that the new control should represent. 

ControlClass returns the class reference for the new control. This should be a descendant of TCustomActionControl. 

 

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