Logo

Hacker’s Guide to Visual FoxPro
An irreverent look at how Visual FoxPro really works. Tells you the inside scoop on every command, function, property, event and method of Visual FoxPro.

Timer Event

The Timer Event fires each time a Timer has counted down the specified Interval of time.

Usage

Procedure tmrTimer.Timer

The Timer procedure is the place you put the code you want to run after each Timer Event has been reached. The Timer’s interval is specified (in milliseconds) with the Timer’s Interval property; a Timer is enabled if its Enabled property is .T. and the Interval is greater than 0.

Example

PROCEDURE Timer1.Timer
  WAIT WINDOW NOWAIT "Time's Up!"
ENDPROC

See Also

Interval, Timer