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

ReadComponentRes

Read component properties from a resource in the current module

Declaration

Source position: classesh.inc line 2278

function ReadComponentRes(

  const ResName: string;

  Instance: TComponent

):TComponent;

Description

ReadComponentRes will read the component's properties from the resource ResName in the current module (always program module). It returns Nil if the resource was not found. It returns Instance if the resource was found and successfully applied to the component.

Errors

The function may raise an exception if the stream contains wrong data.

See also

ReadComponentResEx

  

Read component properties from a resource in the specified module


Documentation generated on: Jun 23 2021