RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCategoryPanel.ReadState Method

Prepares the category panel for having its properties assigned values read from a stream.

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 component state. It reads the values of all the control's published properties, stored data, and owned components from the reader object passed in Reader.  

As implemented for TCustomCategoryPanel, the TControl ReadState ReadState is overridden to set the PanelGroup property of the custom panel if the Reader is the parent panel group. The inherited TWinControl ReadState is then called. 

 

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