Hello!
I'm trying to loop through all the radiobuttons of a form, and clear their checks
What I'vo got so far is:
VB Code:
Dim MPrd1 As Control For Each MPrd1 In Me.Controls If TypeOf MPrd1 Is RadioButton Then [b]MPrd1.Checked = False[/b] End If Next
But now the compiler says that .Checked (the bolded line) is not a member of System.Windows.Forms.Control.
What am I doing wrong?




Reply With Quote