Home > Language Reference > Classes > Timer
Interval Property
Number of milliseconds between two events.
Syntax
Public Property Get Interval() As Long
Public Property Let Interval(ByVal lInterval As Long)
| Parameter | Description |
| lInterval | Interval duration in milliseconds. |
Remarks
The Interval property sets the time interval, in milliseconds, between two successive Timer events. The value specified by the lInterval argument is internally converted into the corresponding number of ticks. The precision of the actual time interval is therefore limited by the TicksPerSecond property.
When the Timer class is instantiated, this property is initialized with the value 1. If you set this to a value of less than or equal to 0, a runtime error occurs.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |