Vcl.ActnMan.TCustomActionManager.OnGetClientItemClass
Delphi
property OnGetClientItemClass: TGetClientItemClassEvent read FOnGetClientItemClass
C++
__property TGetClientItemClassEvent OnGetClientItemClass = {read=FOnGetClientItemClass, write=FOnGetClientItemClass};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionManager |
Description
Occurs before TActionManager creates any ActionClientItems.
Write an OnGetClientItemClass event handler to change the type of the TActionClientItem class that is created and used by the ActionManager. OnGetClientItemClass provides an opportunity to return a descendant of TActionClientItem, which has new properties, events and methods for use within action bands.