thread ReturnValue property
Return to Introduction  Previous page  Next page
Applies to
auThread component.  

Declaration
property ReturnValue: Integer;  

Description
The ReturnValue property specifies the value returned to other waiting threads when the thread finishes executing.  
 
Use ReturnValue to indicate success/failure or numeric result/output of the thread to the application or other threads. The WaitFor method returns the value stored in ReturnValue.  

See also
WaitFor method.  
File not found.