System.Actions.TEnumActionListRef
Delphi
TEnumActionListRef = reference to procedure(const Action: TContainedAction; var Done: boolean);
C++
__interface TEnumActionListRef  : public System::IInterface
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| anonMethod class | public | System.Actions.pas System.Actions.hpp | System.Actions | System.Actions | 
Description
Anonymous method that receives an action.
Methods of this type can work as callback procedures in calls to EnumByCategory, which loops through a list of actions. For every action in the list, EnumByCategory calls your procedure with a new action from the list as the Action parameter.
Your implementation can set Done to True to exit the loop. You can do this, for example, when you find an action that you were looking for, and you do not need to continue looking through the list of actions.