CREATE CLASS

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


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net