Skip to main content
Senior
November 21, 2024
Solved

Multiple Radio Button Groups in TGFX: Is it possible?

  • November 21, 2024
  • 1 reply
  • 751 views

Hi.  My TGFX project is based on a Swipe Container employing multiple screens. Each 'swipe' will bring a set of widgets into view that are responsible for many different settings. Amongst these widgets are pairs of Radio Buttons which should work independently of - for example - another pair, located on another screen in the Swipe Container.

I notice that all of the radio buttons I have impleneted thus far belong to a single Radio Button Group in TouchGFX Designer (identified in the Properties Menu under Group).  I don't see a way of adding multiple entries into this property field in order to handle the values of another pair.  In other words the name given to the first array of buttons in the Radio Button Group manages all radio buttons added thereafter.

This is not the behaviour I am looking for as, interacting with one pair of buttons on one screen - for example - an on/off pair, directly affects the values set of another pair on another screen. 

Currently, my project has 3 pairs of radio buttons grouped in an array of 6.  Is it possible to break these down into 3 separate pairs of 2 in user code? 

Screenshot 2024-11-21 130520.png

 

 

 

 

    

Best answer by Al-E-Bags

I can't believe I didn't try this before posting.  Doh!  Just over type the existing Radio Button Group with another then assign the relevant buttons to the new group! Simples! 

1 reply

Al-E-BagsAuthorBest answer
Senior
November 21, 2024

I can't believe I didn't try this before posting.  Doh!  Just over type the existing Radio Button Group with another then assign the relevant buttons to the new group! Simples!