Executes all pending Windows events.
Syntax
DOEVENTS
Remarks
Window events are placed in a queue when the AutoYield property is set to false (.F.) and program code is executing. DOEVENTS executes all pending Windows events and processes any user code associated with the Windows events.