DOEVENTS statement

Purpose: DOEVENTS is a statement that yields execution of the current thread so that the operating system can process other events. This function cleans out the message loop and executes any other pending business.


Syntax 1:

 DOEVENTS()

Syntax 2:

 DOEVENTS