Lakhtin_V Active Member Licensed User Longtime User Dec 6, 2022 #1 The tick timer event is counted from the moment of initialization sTimer.Initialize("sTimer",5990) or from the moment (line/command) sTimer.Enabled=True
The tick timer event is counted from the moment of initialization sTimer.Initialize("sTimer",5990) or from the moment (line/command) sTimer.Enabled=True
mcqueccu Well-Known Member Licensed User Longtime User Dec 6, 2022 #2 It STARTS when here B4X: sTimer.Enabled=True And STOPS when you call B4X: sTimer.Enabled=False You can track the tick event from B4X: Sub sTimer_Tick log("Timer Started") End sub Upvote 0
It STARTS when here B4X: sTimer.Enabled=True And STOPS when you call B4X: sTimer.Enabled=False You can track the tick event from B4X: Sub sTimer_Tick log("Timer Started") End sub
kimstudio Active Member Licensed User Longtime User Dec 6, 2022 #3 The first Tick event will fire as soon as timer.enable=true or after duration pass counting from timer.enable=true? Upvote 0
The first Tick event will fire as soon as timer.enable=true or after duration pass counting from timer.enable=true?
Sagenut Expert Licensed User Longtime User Dec 6, 2022 #4 kimstudio said: The first Tick event will fire as soon as timer.enable=true or after duration pass counting from timer.enable=true? Click to expand... The first Tick will fire after the Duration expires. In the example of @Lakhtin_V it will fire about after 6 seconds. Upvote 0
kimstudio said: The first Tick event will fire as soon as timer.enable=true or after duration pass counting from timer.enable=true? Click to expand... The first Tick will fire after the Duration expires. In the example of @Lakhtin_V it will fire about after 6 seconds.