Re: How to start and stop a timer control using a button ?

@carlosag I'm not sure what changed but your formula doesn't seem to work quite right:

UpdateContext({StartTimer:false});UpdateContext({StartTimer:true})

That formula, when added to my OnSelect of my button, only starts the timer and won't stop it. If i create two buttons and separate the UpdateContext formulas, it works great. But not as a single formula for a single button. Is there a way to do this? I want the button to toggle the timer on and off, not have to have two separate buttons.

Re: How to start and stop a timer control using a button ?

I have never worked with a platform as inconsistent as this and with so many gotchas. Your Message was the only thing that stopped me from pulling out the last few hairs on my head. Before PowerApps I had hair like a yeti.

Re: How to start and stop a timer control using a button ?

Same here. As well as the endless syntax variations that make intuition virtually worthless in many cases. Strangely, other things are remarkably simple. The overall average is better, however, than learning to be a programmer to use things much more lower level like "C", etc.

Re: How to start and stop a timer control using a button ?

I have never worked with a platform as inconsistent as this and with so many gotchas.

You mustn't have worked with many platforms then. PowerApps is incredibly powerful and has a very simple, fundamentally logical workflow with very few things that aren't plainly obvious within the editor and the syntax. And that's coming from a full stack C# developer. I have chosen PowerApps on several occasions because of the rapid speed you can smash out a great user interface or presentation layer app, then power the guts with MS Flow / serverless functions or a decent web API.