Solved

for...do with big numbers

Posted on 2001-08-11
2
133 Views
Last Modified: 2010-04-06
Hi!
Look here:

for count:=0 to 50000 do begin
label1.caption:=inttostr(count);
{...}
end;
end;

Can somebody tell me how label1 can get updated, because
form1 just gets white....and you can't see anything. I tried already to call another form, but that form hangs to...
Thx
:=dluedi
0
Comment
Question by:dluedi
2 Comments
 
LVL 9

Accepted Solution

by:
ITugay earned 50 total points
ID: 6375580
Hi dluedi,
just add
  Application.ProcessMessages;
after caption was assigned.

-----
Igor.
0
 
LVL 1

Author Comment

by:dluedi
ID: 6375702
That is what I was looking for...
THX
:)dluedi
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now