In .NET it is
Application.DoEvents()

It is a way of preventing the application from looking stalled to the operator.
I typically use it inside loops to prevent them from taking over all the 
processing.
It is especially useful to allow the user to click a cancel button which sets a 
flag which the loop code can respond to.
Without doevents the application cannot respond to a button click event until 
the loop terminates.

I use it sparingly where it is needed.

Dennis McGrath


________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence Lustig
Sent: Thursday, April 24, 2008 12:39 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Application.ProccessMessages()

If I recall, a command was added in 7.6 to force the application to process 
screen update messages, allowing a window to "catch up" with changes while an 
EEP is processing -- the equivalent of Application.ProcessMessages() in Delphi.

Can anyone remind me of the syntax?
--
Larry

Reply via email to