Hi all,
I have a Windows Form with 80 panels. Each panel contains 3 radio buttons (one radio button for Yes, one radio button for No, and one radio button for N/A).
I would like to be able to retrieve the value of the radio button using the Panel. Lets say the Yes radio button has a value of 1 when selected, the No radio button has a value of 2 when selected, and the N/A radio button has a value of 3 when selected.
I would then like to be able to use something like:
If Panel1.??? = 1 (I would then know Yes is selected in Panel1)
If Panel2.??? = 3 (I would then know N/A is selected in Panel2)... and so on.
I have not found a way to do this yet. Am I using the right approach? Any additional ideas?
Thanks.
I have a Windows Form with 80 panels. Each panel contains 3 radio buttons (one radio button for Yes, one radio button for No, and one radio button for N/A).
I would like to be able to retrieve the value of the radio button using the Panel. Lets say the Yes radio button has a value of 1 when selected, the No radio button has a value of 2 when selected, and the N/A radio button has a value of 3 when selected.
I would then like to be able to use something like:
If Panel1.??? = 1 (I would then know Yes is selected in Panel1)
If Panel2.??? = 3 (I would then know N/A is selected in Panel2)... and so on.
I have not found a way to do this yet. Am I using the right approach? Any additional ideas?
Thanks.