Query regarding toggleRadioButtonGroup


I saw in the Juce demo project and also tried myself. It seems it is very easy to implement the group of toggle buttons(mutually exclusive). But what i saw is that, one will always be selected in the group. I cannot de-select all the buttons in the group.

Is there any way to deselect everyone in the group??? I need it for my use case. I need zero/one out of the group should be selected.

Thanks in advance for your reply.



Hi, Could you anyone please help me on this??

Don't think the button's logic currently supports that. You could do some kind of logic yourself rather than using the built-in radio group ID stuff.

Okay Thanks.. I will implment my own logic :)