Vcl.ExtCtrls.TCustomCategoryPanel.ReadState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadState(Reader: TReader); override;

C++

virtual void __fastcall ReadState(System::Classes::TReader* Reader);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomCategoryPanel

Description

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

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.

See Also