Hi All,
I have 5 radiobuttons in a groupbox and I'm trying to uncheck all of them:
Dim ctrl as Control
For each ctrl in GB.Controls
If TypeOf ctrl Is RadioButton Then
ctrl.Checked=False 'This doesn't work!
Endif
Next
I can change ctrl from Control to RadioButton, but there are other controls
in the groupbox (not radiobutons).
Is there an easier way to uncheck all of the radiobuttons in a groupbox?
TIA
Lee