[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 2275

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: May 14 2021