JavaScript Editor js editor     Web development 

Main Page

Creates a timer that can run code at regular intervals.



The Timer control, which is invisible to the user, is useful for background processing. A typical use for the timer is checking the system clock to determine if it is time to run a program or application.

If a Timer control has its Enabled property set to True (.T.) and immediately sets the property False (.F.) after a single execution, it may generate its Timer event multiple times. This occurs when the Interval property is less than or approximately the same as the execution time for the Timer event. This can be corrected by increasing the value of the Interval property or decreasing the execution time of the Timer event.

For additional information about creating timers, see Using Controls.

See Also

JavaScript Editor js editor     Web development