Timer_Interval

Description

The number of milliseconds between the internal timer events. When you use time in a DataWindow, an internal timer event is triggered at the interval specified by Timer_Interval. This determines how often time fields are updated.

Applies to

DataWindows

Syntax

Describe and Modify argument:

"DataWindow.Timer_Interval { = number }"

DataWindowSyntaxFromSql:

DataWindow ( Timer_Interval = number )

Parameter

Description

number

An integer specifying the interval between timer events in milliseconds. The default is 60,000 milliseconds or one minute. The maximum value is 65,535 milliseconds.

Usage

When a computed field uses Now as its expression value, it refreshes the displayed value every time the timer interval period elapses.


In the painter

Select the DataWindow by deselecting all controls; then set the value in the Properties window, General category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("DataWindow.Timer_Interval")

dw1.Modify("DataWindow.Timer_Interval=10000")