The language reference for Timer.Reset() states, “Restarts the Timer, but does not change its settings.”
The mode setting of this timer is set to ModeOff
, so why does it still always fire when the button is pushed? By “fire”, I mean a single execution at the specified period.
MyTimer:
Sub Constructor()
me.period = 2000
me.Mode = Timer.ModeOff
End Sub
Sub Action()
break
End Sub
Window1:
Private t As MyTimer
Sub Open()
t = New MyTimer
End Sub
Window1.PushButton1
Sub Action()
t.Reset
End Sub
Thanks