cancel
Showing results for 
Search instead for 
Did you mean: 

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

nico23
Senior III

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)
1 ACCEPTED SOLUTION

Accepted Solutions
nico23
Senior III

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

 

View solution in original post

1 REPLY 1
nico23
Senior III

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