Designing and Thread

Giganews Newsgroups
Subject:Designing and Thread
Posted by: David HAROUCHE (metan…@hotmail.com)
Date:Wed, 31 Dec 2008

I have done a TMyThread, associated with a TMyPaintBox....That works fine :
when  csDesigning in TMyPaintBox.ComponentState, I jist dont Resume the
thread...

What I want is to set a property to Global/Local, and use a global thread or
a local thread...at will !

In the unit of TMyThread, I instanciate in Initialization a global thread
variable, and free it in Finalization...Works fine...

But if I do a Resume while designing, then it just do not work anymore...

DH

Replies