System.Actions.TEnumActionProc

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TEnumActionProc)(const System::UnicodeString Category, System::Classes::TBasicActionClass ActionClass, void * Info);

Properties

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

Description

The method pointer type is used to declare callback functions.

TEnumActionProc is the method pointer type used to declare callback functions in the EnumRegisteredActions function.

This type has the following parameters:

Parameter Description
Category

Specifies the category of the action. For TContainedAction descendants, this is the Category property. For ancestor classes you can pass in an empty string.

ActionClass

Describes the class type of the action object.

Info

Passes custom information to the callback function. When used in EnumRegisteredActions, this parameter of the callback function is the same as the Info parameter passed to the main EnumRegisteredActions function.

See Also