System.Actions.EnumRegisteredActions
Delphi
procedure EnumRegisteredActions(Proc: TEnumActionProc; Info: TEnumActionProcInfo; FrameworkType: string = '');
C++
extern DELPHI_PACKAGE void __fastcall EnumRegisteredActions(TEnumActionProc Proc, void * Info, System::UnicodeString FrameworkType = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Actions.pas System.Actions.hpp |
System.Actions | System.Actions |
Description
Iterates through the list of registered actions, passing them to the Proc
callback function.
EnumRegisteredActions iterates the list of registered actions, passing them to the user-defined Proc
callback function. To provide this functionality, EnumRegisteredActions calls the procedure stored in the EnumRegisteredActionsProc variable. The IDE should assign the proper procedure to the EnumRegisteredActionsProc variable.
EnumRegisteredActions has the following parameters:
Parameter | Description |
---|---|
Proc
|
Specifies the user-defined callback function. Belongs to the TEnumActionProc method pointer type having the following declaration: TEnumActionProc = procedure(const Category: string; ActionClass: TBasicActionClass; Info: TEnumActionProcInfo) of object;
|
Info
|
Allows the user to pass custom information to the callback function. |
FrameworkType
|
Defines the GUI application framework where you want to use the action. Its value must be either "VCL" (default) or "FMX" (FireMonkey). You cannot use VCL actions in FireMonkey applications, or vice versa. |