Use the executeMessages( ) method to periodically process pending messages while running a lengthy processing routine.

Syntax

<oRef>.executeMessages( )

<oRef>

A reference to the _app object

Property of

_app object

Description

When called, executeMessages( ) checks for messages in the dBASE message queue. If found, they are processed and executed.

While the dBASE interpreter is executing, messages may accumulate in the dBASE message queue - typically mouse, keyboard or paint messages. By calling the executeMessages( ) method during a long processing routine, dBASE can be made responsive to these messages rather than having to wait until the processing routine ends.