[Overview][Resource strings][Constants][Types][Classes][Index] Reference for unit 'resource' (#fcl-res)

TAbstractResource.Name

The name of the resource

Declaration

Source position: resource.pp line 166

public property TAbstractResource.Name : TResourceDesc
  read GetName;

Description

Remark:

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

TAbstractResource.ChangeDescTypeAllowed

  

Reports whether changing the type of resource type or name is allowed

TAbstractResource.ChangeDescValueAllowed

  

Reports whether changing the value of resource type or name is allowed


Documentation generated on: May 14 2021