System.Actions.TContainedAction.ReadState
Delphi
procedure ReadState(Reader: TReader); override;
C++
virtual void __fastcall ReadState(System::Classes::TReader* Reader);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Actions.pas System.Actions.hpp |
System.Actions | TContainedAction |
Description
Reads the state of the action.
ReadState is used internally in the actions system. It is not necessary to call it directly.
ReadState calls the inherited System.Classes.TComponent.ReadState procedure. Then
ReadState checks whether the Parent of Reader
(Reader.Parent
) is an action list, then ReadState sets that the action belongs to this action list (ActionList).