Re: Can't use TComponent in thread object?



J French wrote:
On 23 Nov 2006 18:14:35 -0800, "brett" <account@xxxxxxxxx> wrote:
Thanks Nicholas. How can Synchronize help? I still run into a circular
reference problems. My form needs a reference to the thread class to
start the thread. The thread will need a reference to the form so it
can update a label. The update label method will be called using
Synchronize in the thread's execute method.

Personally I would use SendMessage back to the main thread

That's essentially how Synchronize works.

--
Rob
.



Relevant Pages

  • Re: Cant use TComponent in thread object?
    ... My form needs a reference to the thread class to ... The update label method will be called using ... Synchronize in the thread's execute method. ...
    (alt.comp.lang.borland-delphi)
  • RE: Emailing info from a form
    ... What if all the data from a form needs to be emailed to a certain email ... "Nicholas Scarpinato" wrote: ... Dim msgString as String ... I need to email a reference # from a form. ...
    (microsoft.public.access.forms)
  • Re: Cant use TComponent in thread object?
    ... out the "Synchronize" procedure in your help. ... My form needs a reference to the thread class to ... The update label method will be called using ...
    (alt.comp.lang.borland-delphi)