ActnList unit
Defines classes for Actions and lists of Actions for use in LCL components.
actnlist.pas contains classes which implements actions used in
LCL components. The following components are added to the Lazarus IDE
component palette:
Standard Tab
- TActionList
Registered but not displayed:
- TAction
actnlist.pas is part of the Lazarus Component Library (LCL).
Classes and records
TAction | class | TAction is the basic action object used in the LCL. |
TActionLink | class | A link between an action and a client class. |
TActionList | class | TActionList - The basic actions list class. |
TActionListEnumerator | class | Implements an enumerator for the Actions in TCustomActionList. |
TContainedAction | class | Implements an Action class which has a category and parent action list. |
TCustomAction | class | TCustomAction is the ancestor class for TAction. |
TCustomActionList | class | TCustomActionList - the ancestor class for TActionList. |
TShortCutList | class | A list of shortcuts (accelerator keys) for actions in an action list. |
Procedures and functions
CreateAction | function | Creates a new TBasicAction instance with the specified owner and class type. |
EnumRegisteredActions | procedure | Enumerates the registered actions and calls a routine for values in Info. |
Register | procedure | Registers components for use in the Lazarus IDE. |
RegisterActions | procedure | Registers the array of action classes using the specified category name. |
UnRegisterActions | procedure | Unregisters the specified array of action class types. |
Types
TActionEvent | procedure type | Specifies an event handler signalled to implement an action in TCustomActionList. |
TActionLinkClass | type | TActionLinkClass - class of TActionLink. |
TActionListState | enumeration | Represents state values for an action list. |
TContainedActionClass | type | Class type for TContainedAction instances. |
TEnumActionProc | procedure type | Specifies a routine used to perform actions when enumerating actions. |
THintEvent | procedure type | Specifies an event handler signalled to get the hint text for an action. |
Constants
CreateActionProc | constant | Address of the routine used to create a new action in the action list editor. |
EnumRegisteredActionsProc | constant | Address of the routine used to enumerate actions in the action list editor. |
RegisterActionsProc | constant | Address of the routine used to register actions used in the action list editor in the Lazarus IDE. |
UnRegisterActionsProc | constant | Address of the routine used to unregister actions used in the action list editor in the Lazarus IDE. |
Variables
ApplicationActionComponent | variable | TApplication instance used to update and execute actions. |
Uses
ClassesSysUtilsLCLStrConstsLCLTypeLCLProcLCLIntfImgListLCLClassesLMessages
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
