Sign in Join
FPDoc Onlineexperiment

TComponent.ReadState procedure

Member of TComponentprotectedIn unit Classes

Read the component's state from a stream.

Declaration

pascal
procedure ReadState(Reader: TReader); virtual

Description

ReadState reads the component's state from a stream through the reader object reader. Values for all published properties of the component can be read from the stream. Normally there is no need to call ReadState directly. The streaming system calls ReadState itself.

The TComponent implementation of ReadState simply calls ReadData Descendant classes can, however, override ReadStateto provide additional processing of stream data.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.