Posted by Glen on April 13, 2006
In Reply to Informative message during lengthy process posted
by Timothy Mifsud on
April 09, 2006
Insert the following line in the loop of your process:
That gives Windows time to handle other processes: show changes in visual components like labels, receive keypresses and mouse clicks, deal with other running applications, and so on...
N := 100000; // or bigger number for fast computer for i := 1 to N do begin Label1.Caption := IntToStr(i); Application.ProcessMessages; end;
Related Articles and Replies