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

TStream.WriteDescendentRes

Write resource header and component data to a stream, relative to an ancestor

Declaration

Source position: classesh.inc line 605

public procedure TStream.WriteDescendentRes(

  const ResName: String;

  Instance: TComponent;

  Ancestor: TComponent

);

Description

WriteDescendentReswrites a ResNameresource header, and then calls WriteDescendentto write the state of Instanceto the stream where it differs from Ancestor, i.e. only the changed properties are written to 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.