System.Actions.TContainedActionList.SetState
Delphi
procedure SetState(const Value: TActionListState); virtual;
C++
virtual void __fastcall SetState(const TActionListState Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | System.Actions.pas System.Actions.hpp |
System.Actions | TContainedActionList |
Description
Sets the State property for the action list.
If Value is asSuspendedEnabled, then SetState also sets Enabled to True for all the actions in the action list. This is useful when designing in the Action Manager.
If the OnStateChange event handler is set, then SetState calls this event handler.