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

Declaration
property UseIcons: Boolean;  

Description
The UseIcons property controls whether you would like to retrieve icons (32x32 and 16x16) from files found by MultiDiskScanner 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, dcMultiDiskScanner 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, MultiDiskScanner will determinate the SysImageIndex parameter.  

See also
OnFileFound event.  
File not found.