Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

ReadComponentResFile

Read component properties from a specified resource file.

Declaration

Source position: classesh.inc line 2495

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.


Documentation generated on: Jul 24 2023