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

ReadComponentResFile

Read component properties from a specified resource file

Declaration

Source position: classesh.inc line 1958

function ReadComponentResFile(

  const FileName: String;

  Instance: TComponent

):TComponent;

Description

ReadComponentResFile starts reading properties for Instance from the file FileName. It creates a filestream from FileName and then calls the TStream.ReadComponentRes method to read the state of the component from the stream.

See also

TStream.ReadComponentRes

  

Reads component data and resource header from a stream

WriteComponentResFile

  

Write component properties to a specified resource file

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