ReadComponentRes

Read component properties from a resource in the current module

Declaration

Source position: classesh.inc line 2428

  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

Name Description
ReadComponentResEx Read component properties from a resource in the specified module

results matching ""

    No results matching ""