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

property WaitThread: Boolean;  

The WaitThread property controls whether the procedure that calls the Execute method of the dcDiskScanner component should be suspended and wait until the scanning process will be done.  
Set the WaitThread to True, if you would like to execute dcDiskScanner so that the application does not continue with next lines of code after calling the Execute method. Your application will find all files before continuing to next step.  

See also
Execute method and OnScanDone event;  
ThreadPriority and Suspended properties.