I'm stuck ... anyone have an example of how to implement a series of toggle buttons, so that when any one is selected the rest deselect. Tried with various logic using the events from the toggle button node but to date no success. Imagine the logic as shown in attached but this "races".

Comments

Ahh, thanks.

pbourke's picture
Submitted by

Ahh, thanks. But I think a little trickier than that. But I didn't explain fully, I'm looking for a button set where 1. One button is always on. 2. Initially one button is on. Can't remember what this is called in interface design ... the user selects one of N options.

Mmm. Yeah, maybe it's still

Bodysoulspirit's picture
Submitted by

Mmm. Yeah, maybe it's still possible, but the problem is a toggle button will always toggle when you click on it.
If you don't have too many you could make your own toggle buttons with regular buttons & text layers.
If you have many, you can still do it, but more cables to connect. or save as a subcomp to save cables maybe.

PS the on / off text labels are just to demonstrate you can use the cables to on / off things you want.

Hi Jaymie, wondering if there

jersmi's picture
Submitted by

Hi Jaymie, I'm chasing a related thing, your comp is encouraging. Wondering if there is a way to get your setup to save its state? Save Data / Fetch Data? Would that be the only option?

Edit: ok, gave it try, looks like Save/Fetch Data might work, ideally just hangs out doing its job in the background. Not sure yet how reliable this setup is, looks like it might miss some sometimes, maybe I need a better event flow setup? I didn't need radio buttons for this episode, but looks like your method could play nice if the Save/Fetch Data idea works out. Btw, this is set up as a row of toggles using a grid -- looks like there's no way to reposition button label text? Doesn't work here with text on the right combined with the grid, text gets covered up.