RAD Studio VCL Reference
TCustomActionManager.OnGetBarItemClass Event

Occurs before TActionManager creates TActionBars items.

property OnGetBarItemClass: TGetBarItemClassEvent;
__property TGetBarItemClassEvent OnGetBarItemClass;

Write an OnGetBarItemClass event handler to change the type of the class used for the ActionBarItem. The OnGetBarItemClass event occurs after a find action fetches the item's class, but before the class is sent to the action client. OnGetBarItemClass provides an opportunity to change the class used for the items within the TActionBars collection. 


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