QPix Command Reference
Custom Icons
|
|
| QPx_GetCustomIcon(filePath; customIcon):error | |||
|
|
filePath | Text | Full path name |
|
|
customIcon | Picture | Custom icon |
|
|
error | Longint | Error result |
Retrieves the custom icon of a file.
Parameter filePath is the full path name to the file. The file need not be an image; it can be any kind of file.
Parameter customIcon is a 4D picture that will receive the custom icon of the file. If the specified file does not have a custom icon, the customIcon parameter will contain an empty picture.
Note: This command is available on Mac OS only; Windows does not support custom icons for files.
Related commands
| QPx_SetCustomIcon | Sets the custom icon of a file |
| QPx_ClearCustomIcon | Clears the custom icon of a file |