[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Read component properties from a resource in the current module
Source position: classesh.inc line 2278
function ReadComponentRes( |
const ResName: string; |
Instance: TComponent |
):TComponent; |
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.
The function may raise an exception if the stream contains wrong data.
|
Read component properties from a resource in the specified module |