System.Actions.TContainedAction.SavedEnabledState
Delphi
property SavedEnabledState: Boolean read FSavedEnabledState write FSavedEnabledState;
C++
__property bool SavedEnabledState = {read=FSavedEnabledState, write=FSavedEnabledState, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | System.Actions.pas System.Actions.hpp |
System.Actions | TContainedAction |
Description
Stores the value of the Enabled property when the action is suspended.
The System.Actions.TContainedActionList.SetState method uses SavedEnabledState internally:
- When System.Actions.TContainedActionList.SetState changes State from
asSuspendedEnabled
toasNormal
, then the value stored in SavedEnabledState is used to set the Enabled property. - When System.Actions.TContainedActionList.SetState sets State to
asSuspendedEnabled
, then the value of the Enabled property is saved in SavedEnabledState and Enabled is set to True.