Button Click to next "Set Active Panel" on the Panel List... and then the next click, etc...

Haskell shared this question 4 years ago
Answered

Is it possible to use a single Button called "Forward", to set active panel to the next panel, where each click would "set active panel" to the next panel on the list? Likewise, using a backwards button to traverse down the Panel list.


For example, Lets say I have 4 panels, 1-4. I attach an action to "Set Active Panel" to Panel_2. This works, However, I can't figure out how to progress to the nest Panel_3 by clicking the same button?


I've been working on this for hours but can't seem to get it right..... help!

Comments (3)

photo
1

Hi,


You need a different button on each panel and choose the next panel with a "SetActivePanel" action.


Best,


Marc

photo
1

Is there a way to do this with conditions? Such as, when panel_1 is active, do action 1. When panel_2 is active, do action 2.

photo
1

Hi James,


The following example should help:


https://www.dropbox.com/s/wzn56uachdd...


Best,


Sonia Durán