diskscanner UseIcons property
Return to Introduction  Previous page  Next page
Applies to
dcDiskScanner and dcMultiDiskScanner components.  

property UseIcons: Boolean;  

The UseIcons property controls whether you would like to retrieve icons (32x32 and 16x16) from files found by DiskScanner component.  
If UseIcons = True, the icon images will be retrieved and their handles will be returned by LargeIcon and SmallIcon parameters of the OnFileFound event. If UseIcons = False, dcDiskScanner will not retrieve icons and LargeIcon and SmallIcon will have NIL (NULL) values.  
tip If you would not use icons returned by OnFileFound event - leave UseIcons property False, because process of retrieving of icons may significantly slow down searching!  
However, even if UseIcons is False, DiskScanner will determinate the SysImageIndex parameter.  

See also
OnFileFound event.