How do you reset a timer to a different time while it's not expired yet?

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

I would like to change the expiring time of a time after it has been set.

How do you do this?

There is the possibility that my user will set a timer in the app and will change their mind and want to change it to a different time to expire.

Thanks.
 

reeZZer

Member
Licensed User
Longtime User
I didn't tested it yet but from my expierence you just need to set it like this:

B4X:
Timer1.Enabled = False
Timer1.Interval = 1000 (or TextBox.Text)
Timer1.Enabled = True

greeTz,
reeZZer
 
Upvote 0
Top