shellicon FILENAME property
Return to Introduction  Previous page  Next page
Applies to
dcFileInfo, dcFileCRC, dcFileTail, dcShellIcon, dcShellLink, dcShellProperties, dcOpenDialog, dcSaveDialog components.  

property FileName: String;  

The FileName property specifies the name of the shell object (file, folder or disk) to retrieve the icon images from LargeIcon and SmallIcon properties. The type of icons to retrieve can be specified in the Options.  
tip You can specify not only the file names, but also directories (i.e: "c:\windows") or even disks (i.e: "c:\" or "a:\").  

See also
Options, LargeIcon and SmallIcon properties.