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.

Reset

The Reset Method of the Timer Control resets the Timer to start its countdown from the beginning.

Usage

tmrTimer.Reset()

A Timer is a built-in FoxPro control that counts down a specified interval of time (cleverly specified by its Interval property) and then performs the code included in the Timer Event. Reset causes it to start counting down again from the beginning. The Enabled property determines if the Timer is active. Setting the Interval property to zero also deactivates a Timer—the Timer Event will not fire, even though the Enabled property is .T.

Example

TIMER1.Reset()

See Also

Timer, Timer Event, Interval