Re: popup form in indy thread

Giganews Newsgroups
Subject: Re: popup form in indy thread
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Tue, 11 May 2004

"John Smith" <thecod…@163.com> wrote in message
news:Xns94E6979C8AC4Fthecoder163c…@66.221.34.76...

> When it get a command,it pops up a form which has a frame in it...
> when the form pops up,only TComboBoxEx and two TLabels
> displayed,all other controls disapeared,why?

You should not be creating and showing the form from any worker thread to
begin with.  All GUI work should be done in the main VCL thread only.  That
means using the thread's Synchronize() method.

Gambit

Replies

In response to

popup form in indy thread posted by John Smith on Tue, 11 May 2004