Tech Tip: 4D internal graphics
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: February 10, 2006
4D stores user interface pictures in resource files, and these pictures can be extracted and implemented in a 4D application. Useful pictures include 4D icons of the 4D fields types and the form objects.
To obtain a list of all pictures and icons available in 4D, use following commands:
RESOURCE LIST ("cicn";$arrayID1;$arrayName1) ` "cicn" is an icon resource, with icon ID stored in $arrayID
RESOURCE LIST ("PICT";$arrayID2;$arrayName2) ` "PICT" is a picture resource, with ID stored in $arrayID
Use $arrayID1 and $arrayName1 to view the list of all available icons, while $arrayID2 and $arrayName2 will list the available pictures. Use the ID number ($arrayID1, $arrayID2) to refer to a desired resource picture.