Skip to main content
Senior III
September 25, 2025
Solved

When selected, radio button doesn't de-select if clicked

  • September 25, 2025
  • 1 reply
  • 369 views

For some reason, if you use a single radio button, and you want to de-select an already selected radio button, it won't work and the radio button keeps stay selected.

The docs clearly states "Pushing the RadioButton  again will return the to original state.". That's not the case. (Also, the documentation is spelled wrongly; it should be will return to the original state)

https://support.touchgfx.com/docs/api/classes/classtouchgfx_1_1_radio_button

I have tried both withouth a Group and with a Group for the radio button. I have also tried with multiple radio button both in the same group or with no group. There's no why to deselect the radio button once selected.

I'm using TouchGFX Designer 4.25

TO REPRODUCE

  1. Create a View
  2. Add the standard radio button
  3. Simulate it
  4. Click the radio button (it will be selected)
  5. Try to click it again (it won't de-select)
Best answer by nico23

Ok, just found out you actually need to enable it via the right mneu option. It is not enable by default

nico23_0-1758788672160.png

 

1 reply

nico23AuthorBest answer
Senior III
September 25, 2025

Ok, just found out you actually need to enable it via the right mneu option. It is not enable by default

nico23_0-1758788672160.png