Solved

for...do with big numbers

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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