[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStream.WriteComponentRes

Write resource header and component data to a stream

Declaration

Source position: classesh.inc line 603

public procedure TStream.WriteComponentRes(

  const ResName: String;

  Instance: TComponent

);

Description

WriteComponentReswrites a ResNameresource header to the stream and then calls WriteComponentto write the published properties of Instanceto the stream.

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

See also

TStream.WriteComponent

  

Write component data to the stream

TStream.ReadComponentRes

  

Reads component data and resource header from a stream