[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'ActnList' (#lcl)

# TActionListEnumerator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an enumerator for the Actions in TCustomActionList.

## Declaration

Source position: actnlist.pas line 59

`type TActionListEnumerator = class`
`public`
`constructor Create();` |  | Constructor for the class instance.
`function MoveNext;` |  | Moves to the next value for the enumerator.
`property Current: TContainedAction; [r]` |  | Current value for the enumerator.
`end;`

## Inheritance

`TActionListEnumerator` |  | Implements an enumerator for the Actions in TCustomActionList.
`TObject`

## Description

TActionListEnumerator implements an enumerator for TContainedAction values stored in TCustomActionList. It allows navigation of values in the Actions property using the "for .. in" loop syntax. TActionListEnumerator is the type returned from the TCustomActionList.GetEnumerator method.

## See also

TCustomActionList.GetEnumerator |  | Gets an enumerator for actions in the action list.
TCustomActionList.Actions |  | Provides indexed access to actions in the list by their ordinal position.
TContainedAction |  | Implements an Action class which has a category and parent action list.