4D v14.3

Get resource name

Home

 
4D v14.3
Get resource name

Get resource name 


 

Get resource name ( resType ; resID {; resFile} ) -> Function result 
Parameter Type   Description
resType  String in 4-character resource type
resID  Longint in Resource ID number
resFile  DocRef in Resource file reference number, or all open resource files, if omitted
Function result  String in Name of the resource

The Get resource name command returns the name of the resource whose type is passed in resType and whose ID number is passed in resID.

If you pass a valid resource file reference number in the parameter resFile, the resource is searched for within that file only. If you do not pass the parameter resFile, the resource is searched for within the current open resource files.

If the resource does not exist, Get resource name returns an empty string.

 
PROPERTIES 

Product: 4D
Theme: Resources
Number: 513

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : Get resource name ( 4D v12.4)