Re: popup form in indy thread

Giganews Newsgroups
Subject: Re: popup form in indy thread
Posted by:  Remy Lebeau (TeamB) (
Date: Tue, 11 May 2004

"John Smith" <thecod…> wrote in message

> 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.



In response to

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