I have a WinForms application (VS 2008, .NET 3.5) that has a form with two different group boxes, and inside of each group box are different sets of radio buttons. When I r
RadioButton1.checked = False under Form_Activated works.
You need to give both radio groups different group names. That may not be your issue, but it's a possible reason.
I'm curious as to why you would want radios to default to having no value at all. Radios represent boolean values - True or False - there is no other valid state.
i had this problem, and making Autocheck=false, did the trick. and YES the RadioButton1 was TAB=0
ThankYou
I've had this issue, too. I just manually set all RadioButton objects to .Checked = False in the Form_Shown event. Note that it has to be after the Form_Load event or it won't work, and the RadioButton will be set with a default.
Why? I don't know. Perhaps a bug in VB.NET.
Set all the buttons' AutoCheck property to False. You'll now have to write a Click handler for them to set their Checked property. A sample handler that takes care of two of them:
Private Sub RadioButton_Click(ByVal sender As Object, ByVal e As EventArgs) _
Handles RadioButton1.Click, RadioButton2.Click
Dim button As RadioButton = DirectCast(sender, RadioButton)
RadioButton1.Checked = button is RadioButton1
RadioButton2.Checked = button Is RadioButton2
End Sub
Set Auto Check to "False" on all the radio buttons, both groups. Set them all back to "True". This worked for me. I also had to group boxes the one was good the second one came with the first button checked (selected).