Interval Property

Applies To
Timer

Description
Gets or sets the time, in milliseconds, between timer ticks.

Usage

GGet Form.Control.Interval, var  
GSet  Form.Control.Interval, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
var
Integer variable that will contain the value of the property.
value
Integer expression for the new value of the property.

Values
The number of milliseconds between each timer tick. Enter integer 1 to 9999.
Default: 100

Remarks
To get the number of seconds in the interval, divide this number by 1,000.

See Also
Timer, Enabled

Example

GSet frmMain.tmrMain.Interval, 500