Quick question about option button
How do I unclick all option buttons?
When the program starts, all the option buttons are unclicked - but as soon as you click one, you can only change it, you can't erase the little bullet.
I want to do it so that when I click a button, all the bullets are erased from the option button are clear, just like when you start the program.
Thanks :)
Re: Quick question about option button
you need to make the value of the optionbutton to false. if you want to unselect them all you could make a control array of them and loop through them or something like this.
VB Code:
Dim ctr As Control
For Each ctr In Me.Controls
If TypeOf ctr Is OptionButton Then
ctr.Value = False
End If
Next ctr
casey.
Re: Quick question about option button
Usually in this case instead of not choosing one people go for having an extra option button with the next "None".
Woka