Hello,
I'm doing some testing with timers and date/time/ticks.
1.
this is more a request than a question but is it possible to add the timer 'view' in the designer's add option? like you can do in VB6.
2.
I have a small timer running which I can start and pause etc
just fine by pressing a button.
but when the screenlock gets activated after 10 seconds and I unlock
the screen the timer seems to have paused where the lock happened.
how do I let my timer keep running even when the screen is locked?
3.
I have a small piece of code here, plain and simple but for some reason
both labels show either 01:00:00 and 1 , shouldn't this be 00:00:00 & 0 ?
I'm doing some testing with timers and date/time/ticks.
1.
this is more a request than a question but is it possible to add the timer 'view' in the designer's add option? like you can do in VB6.
2.
I have a small timer running which I can start and pause etc
just fine by pressing a button.
but when the screenlock gets activated after 10 seconds and I unlock
the screen the timer seems to have paused where the lock happened.
how do I let my timer keep running even when the screen is locked?
3.
I have a small piece of code here, plain and simple but for some reason
both labels show either 01:00:00 and 1 , shouldn't this be 00:00:00 & 0 ?
B4X:
starttime=0
Label1.Text=DateTime.Time(starttime)
Label2.Text=DateTime.GetHour(starttime)