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

# TCustomActionList.State

State for the action: Normal, Suspended or SuspendedEnabled.

## Declaration

Source position: actnlist.pas line 116

`public property TCustomActionList.State : TActionListState read FState write SetState default asNormal;`

## Description

State is a TActionListState property which indicates whether the action list can update and execute TCustomAction instances found in the Actions property. The default value for the property is asNormal, and indicates that the action list is enabled and can update and execute its Actions.

Changing the property to a value other than asSuspended causes each of the Actions to update their Enabled property. When State is set to asNormal, the Update method in each action is also called.

## See also

TCustomActionList.Actions |  | Provides indexed access to actions in the list by their ordinal position.
TCustomAction.Enabled |  | Enabled - whether this action is able to be used (default is True).
TCustomAction.SavedEnabledState |  | SavedEnabledState - if True, the Enabled state has been saved.
TContainedAction.Update |  | Signals an available OnUpdate event handler to update values in the Action.
TActionListState |  | Represents state values for an action list.