Sign in Join
FPDoc Onlineexperiment

TAbstractResource.Name property

Member of TAbstractResourcepublicIn unit resource

The name of the resource

Declaration

pascal
property Name: TResourceDesc read GetName;

Description

Please note that some TAbstractResource descendants don't allow resource name to be changed (e.g: a TStringTableResource name is determined by the range of strings' ID it contains). If it is the case, an EResourceDescChangeNotAllowedException exception is raised.

Moreover, if the resource is contained in a TResources object, name change is not allowed.

See also

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