NewTimerInterval

Description

Changes a timer's interval.

The standard Interval property of a timer control does not allow for values greater than 65535 milliseconds. WshDialog uses an additional internal counter (stored in the Tag property) to allow for greater intervals.

Syntax

[Set oCtl =] oFrm.NewTimerInterval ( Name, Seconds )

Parameters

Part

Description

Set oCtl =

(optional) Store a reference to the Timer control in the variable oCtl. This variable can be used to access the control's properties and methods.

oFrm

A reference to a form object (see the NewForm method)

Name

The name of an existing Timer to be changed

Seconds

The new interval in seconds between calls to the user's event handler