RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThread.ReturnValue Property

Specifies the value returned to other waiting threads when the thread finishes executing.

Pascal
property ReturnValue: Integer;
C++
__property int ReturnValue;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!