Solved

for...do with big numbers

Posted on 2001-08-11
2
134 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

24 Experts available now in Live!

Get 1:1 Help Now