How can I start and stop timer on click on different strart and stop button?
Solved! Go to Solution.
Hi Ashwini,
Add two buttons on the app, one for Start, another one for Stop.
For the Start one, set its OnSelect property: UpdateContext({Start:true})
For the Stop one, set its OnSelect property: UpdateContext({Start:false})
Then add a Timer control, set its Start property as: test
Please try if this will work for you.
Best regards,
Mabel Mao
Hi Ashwini,
Add two buttons on the app, one for Start, another one for Stop.
For the Start one, set its OnSelect property: UpdateContext({Start:true})
For the Stop one, set its OnSelect property: UpdateContext({Start:false})
Then add a Timer control, set its Start property as: test
Please try if this will work for you.
Best regards,
Mabel Mao
Well said.
Don't you mean set the Start property to Start as that is what your UpdateContext() variable is called?
Sean
Thank You!!
yes, he made a mistake on the variable.
User | Count |
---|---|
262 | |
110 | |
92 | |
55 | |
41 |