Commands and Topics for Resources
Resources
Resources and 4D Insider: an Example
Open resource file
(resFilename{; fileType})
DocRef
Create resource file
(resFilename{; fileType{; *}})
DocRef
CLOSE RESOURCE FILE
(resFile)
RESOURCE TYPE LIST
(resTypes{; resFile})
RESOURCE LIST
(resType; resIDs; resNames{; resFile})
STRING LIST TO ARRAY
(resID; strings{; resFile})
ARRAY TO STRING LIST
(strings; resID{; resFile})
Get indexed string
(resID; strID{; resFile})
String
Get string resource
(resID{; resFile})
String
SET STRING RESOURCE
(resID; resData{; resFile})
Get text resource
(resID{; resFile})
Text
SET TEXT RESOURCE
(resID; resData{; resFile})
GET PICTURE RESOURCE
(resID; resData{; resFile})
SET PICTURE RESOURCE
(resID; resData{; resFile})
GET ICON RESOURCE
(resID; resData{; fileRef})
GET RESOURCE
(resType; resID; resData{; resFile})
SET RESOURCE
(resType; resID; resData{; resFile})
Get resource name
(resType; resID{; resFile})
String
SET RESOURCE NAME
(resType; resID; resName{; resFile})
Get resource properties
(resType; resID{; resFile})
Number
SET RESOURCE PROPERTIES
(resType; resID; resAttr{; resFile})
DELETE RESOURCE
(resType; resID{; resFile})
Get component resource ID
(compName; resType; originalResNum)
Number
Other related commands:
GET SERIAL INFORMATION
(key; user; company; connected; maxUser) --
Theme:
4D Environment
BLOB Commands
--
Theme:
BLOB
OS Resource Manager Errors
--
Theme:
Error Codes
ON ERR CALL
(errorMethod) --
Theme:
Interruptions