Board index » delphi » Repeat Until Test (Not Working???)
Steve Learn
![]() Delphi Developer |
Sun, 13 Feb 2000 03:00:00 GMT
|
Steve Learn
![]() Delphi Developer |
Sun, 13 Feb 2000 03:00:00 GMT
Repeat Until Test (Not Working???)Hi I'm a new programmer with delphi, I tried writing a simple repeat until How can I have the label automatically update as the count is increased. Please email me @ sle...@globalserve.net or post in this news group Thank you |
Thadd
![]() Delphi Developer |
Sun, 13 Feb 2000 03:00:00 GMT
Re:Repeat Until Test (Not Working???)Steve Learn <sle...@globalserve.net> wrote in article Quote> Hi inc(counter); form1.label1.caption := inttostr(counter); //Here's what you need: application.processmessages; until (counter > 10000); |
Alan Krau
![]() Delphi Developer |
Sun, 13 Feb 2000 03:00:00 GMT
Re:Repeat Until Test (Not Working???)On 27 Aug 1997 05:48:41 GMT, "Steve Learn" <sle...@globalserve.net> Quote> I'm a new programmer with delphi, I tried writing a simple repeat until entire project with your post. Next time, try only including the few relevant lines of code. As to your problem, try putting an Application.ProcessMessages Alan |
Billy Verreynn
![]() Delphi Developer |
Mon, 14 Feb 2000 03:00:00 GMT
Re:Repeat Until Test (Not Working???)Steve Learn <sle...@globalserve.net> wrote in article Quote> I'm a new programmer with delphi, I tried writing a simple repeat until uses an event driven architecture - you have to give your Windows a change to process events (messages) from your application to 'update' (or paint) your application's window. Simply adding a call to Application.ProcessMessages in the loop should do the trick. --from Delphi 3 Help File--- regards, |
Andrew Bak
![]() Delphi Developer |
Mon, 14 Feb 2000 03:00:00 GMT
Re:Repeat Until Test (Not Working???)On 27 Aug 1997 05:48:41 GMT, "Steve Learn" <sle...@globalserve.net> Quote>Hi doesn't get updated until the end of the function. |
Elizabeth Woo
![]() Delphi Developer |
Tue, 15 Feb 2000 03:00:00 GMT
Re:Repeat Until Test (Not Working???)On 27 Aug 1997, Thaddy wrote: Quote
experiment with the progressbar component |
Randy Habe
![]() Delphi Developer |
Sun, 20 Feb 2000 03:00:00 GMT
Re:Repeat Until Test (Not Working???)Actually, you'd call the Refresh method if you wanted to restrict updates Elizabeth Wood <erw...@sover.net> wrote in article Quote
|