IconLib REALbasic Plugin

Icon.Constructor Constructor

A constructor to get the desktop file icon of a folder item or a icon loaded from a .icns file.

Constructor(
   f as FolderItem,
   iconSource as Integer)

Parameters

f
The FolderItem to obtain the icon from or load a icns file from.
iconSource
A constant to specify what to load.

0 = Desktop icon from a folder item.
1 = .icns file.

Remarks

Note:
Only MacOS Carbon systems support loading from a .icns file.

See Also

Icon Class