RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedComponent.ReadState Method

Reads the component'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 streaming system that loads and saves 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. 

TWebContainedComponent overrides ReadState to obtain the parent component from the reader, which it assigns as the value of the WebParent property.

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!