RAD Studio VCL Reference
|
Registers action classes so that they appear in the list of predefined actions in the action list editor or customize dialog.
procedure RegisterActions(const CategoryName: string; const AClasses: array of TBasicActionClass; Resource: TComponentClass);
RegisterActions(const AnsiString CategoryName, const array of TBasicActionClass AClasses, TComponentClass Resource);
RegisterActions allows a class to appear in the action list editor or customize dialog as a selection when you choose New Action or Add Standard Action. Predefined actions are registered automatically. To install your own action classes so that they can be added to an action list or action manager, call RegisterActions to register them.
The CategoryName parameter specifies the value of the actions' Category property.
The AClasses parameter is an array of custom action class names.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|