Solved

for...do with big numbers

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 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