help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TStream.ReadComponentRes

Reads component data and resource header from a stream

Declaration

Source position: classesh.inc line 609

public function TStream.ReadComponentRes(

  Instance: TComponent

):TComponent;

Description

ReadComponentRes reads a resource header from the stream, and then calls ReadComponent to read the component state from the stream into Instance.

This method is usually called by the global streaming method when instantiating forms and datamodules as created by an IDE. It should be used mainly on Windows, to store components in Windows resources.

Errors

If an error occurs during the reading of the component, an EFilerError exception is raised.

See also

TStream.ReadComponent

  

Reads component data from a stream

TStream.WriteComponentRes

  

Write resource header and component data to a stream

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505