On 08 Oct 2010, at 15:13, Jonas Maebe wrote:

If you just want to quickly check whether the thread has finished, check FThread.Finished (followed by FThread.Waitfor to clean it up in case it's true).

I just noticed that's a private field that's not exposed. I guess the only way is to install an OnTerminate event in your tthread, or to expose the value of the "Terminated" property in a child class (it's a protected property).


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to