Article View: borland.public.cppbuilder.nativeapi
Article #5921Creating a TForm from a Tthread.
From: Jermey
Date: Fri, 24 Jun 2005 23:58
Date: Fri, 24 Jun 2005 23:58
13 lines
1524 bytes
1524 bytes
I am working on a project that a mainForm first find the hardware devices on a PC, then it creates a modalless TForm for each device. The problem I have is if 1 of the Forms has to calculate too much data, the other TForm will starve to dead and the look like they are hung. So I put the calculation in a Thread and added a timer to refresh and update the display with the latest data. Is it possible to create a TForm inside the Thread? I want these TForms work like individual executable. I don't want if one TForm is hung, the rest of TForms will hang also. Thanks Jeremy
Technical Details
Message-ID:
<42bc9a02$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,23ba61d084da5a10,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 24 Jun 2005 16:58:23 -0700 From: Jermey <jasonssxxx@hotmail.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Creating a TForm from a Tthread. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.44.185.2 Message-ID: <42bc9a02$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1119656450 12.44.185.2 (24 Jun 2005 16:40:50 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail