G
Guest
Hello,
I have a groupbox that contains 3 radiobuttons. Is there a groupbox
property or some syntax that identifies which radiobutton is checked? Or do
I have to loop?
For Each rad As RadioButton In grpBox1.Controls
If rad.Checked.Equals(True) Then Console.WriteLine(rad.Name)
Next
vs
(pseudo code)
Console.WriteLine(grpBox1.Controls.Checked.Name)
Thanks,
Rich
I have a groupbox that contains 3 radiobuttons. Is there a groupbox
property or some syntax that identifies which radiobutton is checked? Or do
I have to loop?
For Each rad As RadioButton In grpBox1.Controls
If rad.Checked.Equals(True) Then Console.WriteLine(rad.Name)
Next
vs
(pseudo code)
Console.WriteLine(grpBox1.Controls.Checked.Name)
Thanks,
Rich