Show: Delphi
C++
Display Preferences
Vcl.ActnList.EnumRegisteredActions
From XE2 API Documentation
Delphi
procedure EnumRegisteredActions(Proc: TEnumActionProc; Info: TEnumActionProcInfo);
C++
extern PACKAGE void __fastcall EnumRegisteredActions(TEnumActionProc Proc, void * Info);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Vcl.ActnList.pas Vcl.ActnList.hpp |
Vcl.ActnList | Vcl.ActnList |
Description
Iterates through the list of registered actions, passing them to a user-defined callback.
EnumRegisteredActions iterates the list of registered actions, passing them to the user-defined callback, Proc.
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. The ActionClass parameter describes the class type of the action object. The Info parameter of the callback is the same as the Info parameter passed to EnumRegisteredActions. It allows the user to pass custom information to the callback.