Vcl.Forms.TCustomForm.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.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

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

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.

See Also