TResourceFactory.CreateResource function
Creates a new resource
Declaration
class function CreateResource(aType: TResourceDesc;
aName: TResourceDesc): TAbstractResourceArguments
aType | The type of the resource to create |
aName | The name of the resource to create |
Function result
A new resource
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
