Unit 'resource' Package
[Overview][Resource strings][Constants][Types][Classes][Index] [#fcl-res]

TAbstractResource.Name

The name of the resource

Declaration

Source position: resource.pp line 173

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: Nov 23 2024