🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7750

Re: Display stalls during lengthy operation

#7750
From: Simon D
Date: Sat, 25 Dec 2004 17:32
20 lines
1439 bytes
"Feico" <feicorem0veth1s@gmx.net> wrote in message
news:cl4rs05f9la28m5jqv654jcj92fknkieu9@4ax.com...
> Dear friends
>
> I use a TMemo or TEdit to display the progress of the execution of my
program. Frequently the
> display in these fields stalls, so that it appears that the program has
crashed, while actually it
> hasn't.
> Is there a way to force that the contents of these fields are updated?
>
> -- 
> Feico

During long loops you can occasionally call
Application->ProcessMessages();
to allow the app to deal with visual updates.

HTH
Simon.
Technical Details
Message-ID: <41cda3b9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <cl4rs05f9la28m5jqv654jcj92fknkieu9@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a5e57d9d2fe172c8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Simon D" <LightsOnNo1@home.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <cl4rs05f9la28m5jqv654jcj92fknkieu9@4ax.com>
Subject: Re: Display stalls during lengthy operation
Date: Sat, 25 Dec 2004 17:32:29 -0000
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 81.131.18.95
Message-ID: <41cda3b9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103995833 81.131.18.95 (25 Dec 2004 09:30:33 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail