Sign in Join
FPDoc Onlineexperiment

TComponent.WriteState procedure

Member of TComponentpublicIn unit Classes

Writes the component to a stream.

Declaration

pascal
procedure WriteState(Writer: TWriter); virtual

Description

WriteState writes the component's current state to a stream through the writer object writer. Values for all published properties of the component can be written to the stream. Normally there is no need to call WriteState directly. The streaming system calls WriteState itself.

The TComponent implementation of WriteState simply calls WriteData. Descendant classes can, however, override WriteStateto provide additional processing of stream data.

See also

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