thread WaitThread property
Return to Introduction  Previous page  Next page
Applies to
acThread, acSQLQueryThread, acHTTP and acSendMail components.  

property WaitThread: Boolean;  

The WaitThread property controls whether the procedure that calls the Execute method should be suspended and wait until the scanning process will be done.  
Set the WaitThread to True, if you would like to process some operations in separate thread so that the application does not continue with next lines of code after calling the Execute method. Your application will done execution of the thread before continuing to next step.  
tip If your application can't infinitely wait, until the the thread execution will be completed, and want to set for some limited time interval for the execution — specify WaitTimeout property.  

See also
WaitTimeout and Suspended properties;  
Execute method.