Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]


Write resource header and component data to a stream.


Source position: classesh.inc line 1121

public procedure TStream.WriteComponentRes(

  const ResName: string;

  Instance: TComponent

); overload;

procedure TStream.WriteComponentRes(

  const ResName: string;

  Instance: TComponent;

  aWriteUnitname: Boolean

); overload;


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



Write component data to the stream.



Reads component data and resource header from a stream.

Documentation generated on: Jul 24 2023