Sign in Join
FPDoc Onlineexperiment

TResources.Add procedure

Member of TResourcespublicIn unit resource

Adds a resource

Declaration

pascal
procedure Add(aResource: TAbstractResource)

Arguments

aResource

The resource to add

Description

This method adds aResource to the object, and sets itself as the owner list of the resource.

Errors

If a resource with the same type, name and language ID already exists, an EResourceDuplicateException exception is raised.

See also

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