System.Actions.RegisterActionsProc
Delphi
RegisterActionsProc: procedure(const CategoryName: string;
const AClasses: array of TBasicActionClass;
Resource: TComponentClass) = nil;
C++
extern DELPHI_PACKAGE void __fastcall (*RegisterActionsProc)(const System::UnicodeString CategoryName, System::Classes::TBasicActionClass const *AClasses, const int AClasses_High, System::Classes::TComponentClass Resource);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | System.Actions.pas System.Actions.hpp |
System.Actions | System.Actions |
Description
The global procedural variable that stores a procedure that should register action classes so that they appear in the list of standard actions in the Action List editor or Action Manager.
The RegisterActionsProc procedural variable should store a procedure that registers the specified set of action classes. The IDE should assign the proper procedure to the RegisterActionsProc variable.
The RegisterActionsProc procedural variable has the following parameters:
Parameter | Description |
---|---|
CategoryName
|
Specifies the value of the actions' Category property. |
AClasses
|
Is an array of names of action classes to register.
|
Resource
|
Lets you assign default values to the properties of the actions being registered. |
The default value is nil
(Delphi) or NULL
(C++).