On 8 October 2010 14:44, Andrew Brunner wrote:
>>
> What about dropping that loop and put it in UpdateProgressBar
>
> And drop the waitfor all together?

Ignore what the thread does... it's a dumb example. The thread can do
any long running job. I simply wanted to wait for it to finish before
I do other processing. So I wanted to use the TThread.WaitFor to see
how it works. Then I stumbled upon the problem that it freezes up my
app.  :-/


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to