RAD Studio VCL Reference
TCustomActionManager.OnGetBarsClass Event

Occurs before TActionManager creates its ActionBars collection.

property OnGetBarsClass: TGetBarsClassEvent;
__property TGetBarsClassEvent OnGetBarsClass;

Write an OnGetBarsClass event handler to change the type of the TActionBars collection to a descedant of TActionBars. OnGetBarsClass provides an opportunity to change the class used for the TActionBars collection. By implementing this event and returning a descendant of TActionBars, the developer can add new properties and new functionality to the collection for use within action bands. 


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