Show: Object Pascal C++
Display Preferences

System.Actions.EnumRegisteredActions

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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;
Here:
  • Category is the category of the action. For TContainedAction descendants, this is the Category property. For ancestor classes you can pass in an empty string.
  • ActionClass is the retrieved action object.
  • The Info parameter of the callback function is the same as the Info parameter passed to the main EnumRegisteredActions function. It allows the user to pass custom information to the callback function.
Info

Allows the user to pass custom information to the callback function.

FrameworkType Template:F

See Also

Personal tools
Translations