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”.
BUT … as it stands the user can click on an already checked button and it turns off.
The behaviour of a “check button set” is that there is always one button active, the above should do nothing to the already checked button.
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 @jstrecker, 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.
@jstrecker and I investigated this. It took some time, but we found a problem when rendering several Make Toggle Button nodes in the same composition. We believe that’s the cause of your reliability issue. We’ve created a bug report.