Interval

This property returns and sets the number of milliseconds between calls to a Timer control's Timer event.

Syntax

object.Interval [= milliseconds]

Parameters

object
Object expression that evaluates to a Timer control.
milliseconds
Numeric expression that specifies the number of milliseconds. Following are the settings for milliseconds:
0 (default)
Disables a Timer control.
1 to 65,535
Sets an interval (in milliseconds) that takes effect when a Timer control's Enabled property is set to True. For example, a value of 10,000 milliseconds equals 10 seconds. The maximum, 65,535 milliseconds, is equivalent to just over 1 minute.

Remarks

You can set a Timer control's Interval property at design time or run time. The Timer control's Enabled property determines whether the control responds to the passage of time. Set Enabled to False to turn a Timer control off and True to turn it on. When a Timer control is enabled, its countdown always starts from the value of its Interval property setting.