Read component properties from a resource in the specified module.
Source position: classesh.inc line 2925
function ReadComponentResEx( |
HInstance: THandle; |
const ResName: string |
):TComponent; |
ReadComponentRes will locate the resource ResName in instance HInstance (the current program, normally). It returns Nil if the resource was not found. It returns an instantiated component with all properties found in the stream, applied. This requires that the component is registered using registerclass.
The function may raise an exception if the stream contains wrong data.
|
Read component properties from a resource in the current module. |