System.Actions.TEnumActionListEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TEnumActionListEvent)(TContainedAction* const Action, bool &Done);

Properties

Type Visibility Source Unit Parent
typedef public System.Actions.hpp System.Actions System.Actions

Description

Type of procedure that receives an action.

Procedures 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.

See Also