webtimer.reset

HI ,

Im a bit confused again!

I have a label that im updating with a status message, after a couple of seconds i want it to blank the label.

when i set the status, i then tried to change the mode of my timer to modesingle.

I can get it to work once, but after that it doesn’t work.

the timer.reset seems to be what i want , but it doesn’t seem to work.

i must be missing something really obvious as usual!

all help gratefully received!

[quote=178658:@Russ Lunn]HI ,

Im a bit confused again!

I have a label that im updating with a status message, after a couple of seconds i want it to blank the label.

when i set the status, i then tried to change the mode of my timer to modesingle.

I can get it to work once, but after that it doesn’t work.

the timer.reset seems to be what i want , but it doesn’t seem to work.

i must be missing something really obvious as usual!

all help gratefully received![/quote]

You may want to place

me.enabled = False

At the end of the timer action event.

same result.

Works the first time not after!

ok, this works.

timer.modeoff in the timers action event
timer.mode single to restart it.

i do wonder how is the timer.reset supposed to work though?

Thanks for pointing me in the right direction @Michel Bujardet :wink: