Timer_Interval
property (DataWindow object)
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
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Timer_Interval |
Describe and Modify argument:
|
1 |
"DataWindow.Timer_Interval { = number }" |
SyntaxFromSql:
|
1 |
DataWindow ( Timer_Interval = number ) |
|
Parameter |
Description |
|---|---|
|
number |
An integer specifying the interval between timer |
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 view, General tab, Timer Interval option.
Examples
|
1 2 3 4 5 |
string setting setting = dw1.Object.DataWindow.Timer_Interval dw1.Object.DataWindow.Timer_Interval = 10000 setting = dw1.Describe("DataWindow.Timer_Interval") dw1.Modify("DataWindow.Timer_Interval=10000") |