thread Execute method
Return to Introduction  Previous page  Next page
Applies to
acThread component.  

function Execute: Boolean; // returns False if WaitTimeout expired  

Call Execute method to start the thread and initiate the processes described in the OnExecute event handler.  
The Execute method will terminate the thread (if it already Running) and restart current thread again.  
Function can return False if WaitTimeout is expired (if you waiting for completion of request in the function that calls this medod, using WaitThread property).  

See also
WaitThread and WaitTimeout properties;  
Suspend, Resume, Synchronize and Terminate methods;  
OnExecute event.