System.Actions

From RAD Studio API Documentation
Jump to: navigation, search

Provides action features that do not depend on the GUI application framework.

For more information, see RTL Actions.

Package rtl.bpl

Classes

EActionErrorClass for action exceptions.
TActionListEnumeratorAuxiliary class for enumeration actions in TContainedActionList.
TContainedActionTContainedAction is the base class for actions that can be grouped by category and that can appear in action lists.
TContainedActionClassTContainedActionClass defines the metaclass for TContainedAction.
TContainedActionLinkTContainedActionLink is a base class for action links that connects actions to action clients and sets commonly used properties to client objects.
TContainedActionLinkClassTContainedActionLinkClass defines the metaclass for TContainedActionLink.
TContainedActionListThe base class for list of actions, without the published properties.
TContainedActionListClassTContainedActionListClass defines the metaclass for TContainedActionList.
TCustomShortCutListManages a list of keyboard shortcuts.

Routines

CreateActionCreates an action of the specified ActionClass type.
EnumRegisteredActionsIterates through the list of registered actions, passing them to the Proc callback function.
RegisterActionsRegisters action classes so that they appear in the list of standard actions in the Action List editor or Action Manager.
RegisteredShortCutReturns a TShortCut previously registered with the specified Index.
RegisteredShortCutCountReturns the number of TShortCut instances currently registered.
RegisterShortCutRegisters the specified ShortCut, with the specified Index if it is a valid index, and returns the registered index.
UnRegisterActionsUnregisters the specified set of action classes.
UnregisterShortCutUnregisters the specified ShortCut, and returns True on success or False if the specified shortcut was not registered.

Types

TActionListStateSpecifies the type for the state of an action list.
TEnumActionListEventType of procedure that receives an action.
TEnumActionListRefAnonymous method that receives an action.
TEnumActionProcThe method pointer type is used to declare callback functions.
TEnumActionProcInfoTEnumActionProcInfo is an alias to an untyped pointer.
TStatusActionThe type for the status of an input field in an action.

Variables

CreateActionProcGlobal procedural variable that stores a procedure that CreateAction calls.
EnumRegisteredActionsProcThe global procedural variable that stores a procedure that iterates through the list of registered actions, passing them to the specified callback function.
RegisterActionsProcThe global procedural variable that stores a procedure that should register action classes so that they appear in the list of standard actions in the Action List editor or Action Manager.
UnRegisterActionsProcThe global procedural variable that stores a procedure that unregisters the specified set of action classes.
vDesignActionvDesignAction is used to inform that an action is being created at design time in the IDE.