DoEvents Method
Processes events from the internal message queue.
Syntax
procedure DoEvents();Remarks
When this method is called, the component processes any available events. If no events are available, it waits for a preset period of time, and then returns.