I have a windows form with 2 group boxes. The first groupbox has 3 radio boxes which set an option when the user submits the form and the second groupbox has 2 radio boxes.
When the form loads I can see the default radio button for each groupbox is pre-selected as intended, but as soon as I click a different radio button in the first groupbox all the buttons are un-selected in the second groupbox as well.
I have the radio buttons added to each box:
So I don't understand why they aren't behaving independently.
Any ideas?
Thanks,
Jeff
When the form loads I can see the default radio button for each groupbox is pre-selected as intended, but as soon as I click a different radio button in the first groupbox all the buttons are un-selected in the second groupbox as well.
I have the radio buttons added to each box:
Code:
me.groupBox5.Controls.Add(me.radioButton4)
me.groupBox5.Controls.Add(me.radioButton5)
me.groupBox5.Name = "groupBox5"
me.groupbox5.Location = New System.Drawing.Point(40, 406)
Me.groupBox5.Size = New System.Drawing.Size(450, 90)
me.groupbox5.Text = "Name Selection"
.
.
.
me.groupBox1.Controls.Add(me.radioButton1)
me.groupBox1.Controls.Add(me.radioButton2)
me.groupBox1.Location = New System.Drawing.Point(190, 20)
me.groupBox1.Size = New System.Drawing.Size(300, 90)
me.groupBox1.Text = "Options"
So I don't understand why they aren't behaving independently.
Any ideas?
Thanks,
Jeff