I am building an app where I want the checked status of a toggle control to do a thing, and I want to be able to control the checked status of the toggle control via another button.
I have a button with OnSelect=Set(varToggle, !varToggle)
I have a toggle with Checked=varToggle and OnCheck=Set(varNumber, varNumber+1)
I have a text box with Text=varNumber
When I click the button, the toggle control visually changes, but the Checked value seems to remain the same and therefore the OnCheck does not run.
Am I doing something wrong, missing a step, or does the OnCheck only run if the toggle is physically checked by a user?