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 rtl250.bpl

Classes

EActionError Class for action exceptions.
TActionListEnumerator Auxiliary class for enumeration actions in TContainedActionList.
TContainedAction TContainedAction is the base class for actions that can be grouped by category and that can appear in action lists.
TContainedActionLink TContainedActionLink is a base class for action links that connects actions to action clients and sets commonly used properties to client objects.
TContainedActionList The base class for list of actions, without the published properties.
TCustomShortCutList Manages a list of keyboard shortcuts.

Routines

CreateAction Creates an action of the specified ActionClass type.
EnumRegisteredActions Iterates through the list of registered actions, passing them to the Proc callback function.
RegisterActions Registers action classes so that they appear in the list of standard actions in the Action List editor or Action Manager.
RegisteredShortCut Returns a TShortCut previously registered with the specified Index.
RegisteredShortCutCount Returns the number of TShortCut instances currently registered.
RegisterShortCut Registers the specified ShortCut, with the specified Index if it is a valid index, and returns the registered index.
UnRegisterActions Unregisters the specified set of action classes.
UnregisterShortCut Unregisters the specified ShortCut, and returns True on success or False if the specified shortcut was not registered.

Types

TActionListState Specifies the type for the state of an action list.
TEnumActionListEvent Type of procedure that receives an action.
TEnumActionListRef Anonymous method that receives an action.
TEnumActionProc The method pointer type is used to declare callback functions.
TEnumActionProcInfo TEnumActionProcInfo is an alias to an untyped pointer.
TStatusAction The type for the status of an input field in an action.

Variables

CreateActionProc Global procedural variable that stores a procedure that CreateAction calls.
EnumRegisteredActionsProc The global procedural variable that stores a procedure that iterates through the list of registered actions, passing them to the specified callback function.
RegisterActionsProc The 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.
UnRegisterActionsProc The global procedural variable that stores a procedure that unregisters the specified set of action classes.
vDesignAction vDesignAction is used to inform that an action is being created at design time in the IDE.


Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.Actions&oldid=735461"