[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] 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 788

public procedure TStream.WriteDescendentRes(

  const ResName: String;

  Instance: TComponent;

  Ancestor: TComponent

);

Description

WriteDescendentRes writes a ResName resource header, and then calls WriteDescendent to write the state of Instance to 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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.