[Overview][Resource strings][Classes][Index] |
Creates a new resource
Source position: resfactory.pp line 46
public class function TResourceFactory.CreateResource( |
aType: TResourceDesc; |
aName: TResourceDesc |
aType |
|
The type of the resource to create |
aName |
|
The name of the resource to create |
A new resource
This class method creates a new resource of the class associated with the given type, and sets its name and type based on the values passed as parameters.
If no class matching the given type is found, the resource is created with TGenericResource class.
|
Factory class for resources |
|
|
Registers a resource class |
|
|
Generic resource class |