A timer item generates tick events at set intervals. Timer is unlike the remainder of the user-interface items as it is not a visible control. Timer lets the user interface react, animate, or change without user interaction, such as having animations playing on the rollout, checking for certain conditions or events before continuing, displaying nag/splash screens, and so on.
The syntax is:
timer <name> [ interval:<number> ] [ active:<boolean> ]
utility test "test1"
timer clock "testClock" interval:400
label test "1"
on clock tick do
valUp = (test.text as integer)+1
test.text = valUp as string
An integer value specifying the time in milliseconds between tick events. Default value 1000 (1 second).
Specifies whether the timer emits tick events. Default value true.
Integer value specifying the time in milliseconds between tick events.
Specifies whether the timer emits tick events (true) or not (false). When first set to true, the first tick event is generated in interval milliseconds.
The read/write .ticks property is incremented by 1 on each ‘tick’ of the timer. Can be both get and set.
on <timer> tick do <expr>
Called when timer ticks.
Rollout User-Interface Items Common Properties
Rollout User-Interface Items Common Layout Parameters
Rollout User-Interface Control Types