Sign in Join
FPDoc Onlineexperiment

TStream.WriteComponentRes procedure

Member of TStreampublicIn unit Classes

Write resource header and component data to a stream.

Declaration

pascal
procedure WriteComponentRes(const ResName: string; Instance: TComponent)
 ; overload
procedure WriteComponentRes(const ResName: string; 
 Instance: TComponent; 
 aWriteUnitname: Boolean); overload

Description

WriteComponentRes writes a ResName resource header to the stream and then calls WriteComponent to write the published properties of Instance to the stream.

This method is intended for use by an IDE that can use it to store forms or datamodules as designed in a Windows resource stream.

See also

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