When the timer’s interval has elapsed.

Parameters

none

Property of

Timer

Description

A Timer object’s onTimer event is fired every time the amount of idle time specified by the timer’s interval property has elapsed.

Like all event handlers, inside the onTimer event handler, the reference this refers to the Timer object itself. To refer to other objects, add references to those objects as properties to the Timer object before activating the timer.

While processing the onTimer event, all active timers are suspended, since dBASE Plus is busy processing code. Once the onTimer event handler has completed, its internal counter is reset to the interval, and all active timers resume counting.

If a Timer is intended to go off only once instead of repeatedly, set the enabled property to false in the onTimer event handler.