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.
DataWindows
PowerBuilder dot notation:
dw_control.Object.DataWindow.Timer_Interval
Describe and Modify argument:
"DataWindow.Timer_Interval { = number }"
SyntaxFromSql:
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. |
When a computed field uses Now as its expression value, it refreshes the displayed value every time the timer interval period elapses.
Select the DataWindow by deselecting all controls; then set the value in the Properties view, General tab, Timer Interval option.
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")