R
Ricky W. Hunt
Is there an easy, flexible way to determine which radiobutton is checked
within a groupbox without having to code for each button explicitly? It
seems there would be some kind of index you could use but I can't find
anything in the VS help or on MSDN online.
Something like:
(pseudocode)
If grpBox1.item(3).checked then
or
Select Case grpBox1.Item
Case 1....
Also, if there is an index, and you have more than one row/column of
buttons, how are they numbered?
I also want to make sure they have checked a button within the group
(meaning it starts out with no radiobuttons checked; i.e. I don't want there
to be a "default"). Is there a way to make sure a radiobutton within the
group is checked without having to ask about each radiobutton explicitly?
within a groupbox without having to code for each button explicitly? It
seems there would be some kind of index you could use but I can't find
anything in the VS help or on MSDN online.
Something like:
(pseudocode)
If grpBox1.item(3).checked then
or
Select Case grpBox1.Item
Case 1....
Also, if there is an index, and you have more than one row/column of
buttons, how are they numbered?
I also want to make sure they have checked a button within the group
(meaning it starts out with no radiobuttons checked; i.e. I don't want there
to be a "default"). Is there a way to make sure a radiobutton within the
group is checked without having to ask about each radiobutton explicitly?