Reading groups of RadioButtons
Posted
#1
(In Topic #229)
Administrator

For instance… If I have a group of 4 RadioButtons (in a panel) and I want to set the selected button's value in a config file (or just to determine which button is "True"), is there a better way than doing this…
Or is that the only way?
Posted
Regular

Posted
Guru

RadioButton0
RadioButton1
RadioButton2
RadioButton3
Add a group name to all the RadioButtons e.g AllRadioButtons then add the following code: -
This is a solution provided you only want to catch this when the value of the RadioButtons change.
Posted
Administrator

My 3-year old appointment reminder app has had numerous RadioButtons added to the config section over the years and I'm starting to look at reducing the number of code lines. I may even look at switching to using ComboBoxes like I do in my inventory app. ComboBoxes has the added benefit of reducing GUI clutter.
Posted
Regular

1 guest and 0 members have just viewed this.

