don't get too liberal in sprinkling "application.processmessages" thoughout your code though. sometimes that causes problems because it can mess up the natural order of message handling. When this happens you can get strange errors that might be hard to track down.
If you need to repaint a form, call refresh (or repaint). If you need to make your app more responsive to users, it's best to use a thread for that. -John -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Micha� Wo�niak Sent: Thursday, June 02, 2005 5:01 AM To: [email protected] Subject: Re: [delphi-en] Application.ProcessMessages and performance Besides, the performance hit won't be that bad, as you don't have to call ProcessMessages in every single iteration - depending on the job being done, a loop will process quite a lot iterations per second, so calling once per, say, 100 iterations should do. Of course - that depends on the loop. You will have to test how fast are the iterations in your loop. Cheers Mike ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] ---------------------------------------------------------------------------- -- Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

