i try to insert different values on a webapp.
A slider doesn’t work (on android) so i try it with segmented controls with + and - buttons.
But there is a strange error!
I place a label and a segmentedcontrol on a webpage.
Left button is “-”
Right button is “+”
Label1.text = str(Index)
That works!
But if i use the segmentedcontrol as a new controlset (i need a lot of segmentedcontrols) it stops on runtime with a bug on the Label1.text = str(Index) without further informations.
Right. The startup is calling the Action event for some reason. Perhaps it getting called because one of the segments is set as the default and when it attempts to set it at startup it calls the Action event handler.
It seems unexpected. Fortunately the workaround is pretty simple. You can create a Feedback case for this if it is important enough for you.