RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.ReadState Method

Reads the form's published properties, stored data, and owned components from a reader object.

Pascal
procedure ReadState(Reader: TReader); override;
C++
virtual __fastcall ReadState(TReader Reader);

ReadState is part of a sequence of calls used by the VCL streaming system that loads and saves VCL components. It reads the values of all the component's published properties, stored data, and owned components from the reader object passed in Reader. Do not call ReadState directly. 

Any descendant classes overriding ReadState should end with a call to the inherited ReadState method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!