Toggle Button Problems.

Grip shared this problem 4 years ago
Solved

The Toggle button changes its intended action.


I have 4 buttons at the bottom of the Iphone screen. 1, 2, 3, 4. These buttons are set and do not move.


Button 1 is set to toggle between A and B


Button 2 is set to show screen C "on click "


if the user clicks on Button 2 first, C shows up, the problem is when the user decides to click on button 1 (after clicking on button 2) screen B shows up however it now toggles between C and B and not between A and B as intended.


What is happening?


Thanks.

Comments (4)

photo
1

Hi,


I can only recomend to carefully review the events on the buttons of each screen.


I have created a small example that does what you describe. You can download the .vp file from here.


Best,


Marc

photo
1

Thank you very much for that example; I wasn't too clear on the response; are you acknowledging that yes, the buttons do behave in that way as explained in the question and you've made recommendations based on it, regardless of it, it is appreciated


I will use the "on click" instead of on toggle within the same dynamic panels to keep the Events consistent otherwise the Events behave different if you link it between screens.

photo
1

I believe it is because there are 2 different buttons and using the toggle event on two widgets isn't the best way to proceed.


Could you send the .vp file over to "jim dot support at justinmind dot com" so we can determine if this is a bug in the software?


Best,


Marc

photo
1

Sure, will do; I have actually modified the file you sent me to mimic the behaviour.


You must click on button number 2 first and then click on button 1 to toggle; instead of toggling between A and B it toggles to B and C.


Regards.