IdleTimer

[property icon] IdleTimer

Specifies the interval in which the Idle() event handler is called in milliseconds

Integer property

Applies to: Form


>

IdleTimer

This property is used to specify the interval at which the Idle() event handler is to be called, if it exists. By default this property is set to -1 which means that the Idle() event handler is disabled. To enable the Idle() event this property should be set to a positive integer specifying the interval in milliseconds. For example, the following would set the interval to 5 seconds:

.form.IdleTimer = 5000

Don't set this property unless you have an event handler otherwise the server will be waking up unnecessarily. Also though the timeout is measured in milliseconds you would not want to have the server woken repeatedly at sub one second intervals because of the consequent degredation of performance for other users.

See also

Form methods, properties and events.