Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

uncheck option buttons

Status
Not open for further replies.

bassmn

Technical User
Oct 27, 2002
8
0
0
US
I have placed several option buttons on a form inside a frame.when run, one of the buttons is pre checked. how do I uncheck the buttons?
Thanks.
 
Option1.Value = False


________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
On the other hand, as I get told by my 'design committee' -A range of options implies one of them must always be selected, to be user friendly this should be the most likely (default). "None of the above" should be another option button if valid. As I recall the original term was radio button in referance to push button station change buttons.

Obviously a quite day for me!

Other views ?
 
"Obviously a quite day for me!"

but nonetheless some very interesting facts there SonOfEmidec1100
 
My understanding of a range of option buttons is that it implies not so much that one must always be selected, but that only one can be selected. I guess one can also get what SonOfEmidec1100 is saying, but what if there is a list of items, only one of which can be selected, but it is not necessary to select one? Credit goes to johnwm for his solution. What I have seen for this is having an extra option button, setting it to selected and making it invisible.

My 2 cents.
 
On the other hand, I recently had to deal with a user that wanted the functionality of radio buttons, but wanted to use checkboxes instead. So the requirements were:
1) Use Checkboxes.
2) Only one could be checked.
3) There could be none checked.

I put them into a frame and used the Click event to determine if the value was checked. If so, I set the rest to vbUnchecked.

It was a hack, but it gave the user what they wanted (not to be confused with what they NEEDED.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top