Sign in Join
FPDoc Onlineexperiment

TAbstractResource.Create constructor

Member of TAbstractResourceprotectedIn unit resource

Creates a new resource

Declaration

pascal
constructor Create; virtual; overload
constructor Create(aType: TResourceDesc; aName: TResourceDesc); virtual
 ; abstract; overload

Arguments

aType

The type of the resource to be created

aName

The name of the resource to be created

Description

A new resource is created with the given type and name.

Please note that the resource doesn't take ownership of the TResourceDesc objects passed as parameters, it simply copies them: it's user responsibility to free them when no longer needed.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.