Sign in Join
FPDoc Onlineexperiment

TCustomActionList.State property

Member of TCustomActionListpublicIn unit ActnList

State for the action: Normal, Suspended or SuspendedEnabled.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.