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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

option buttons

Status
Not open for further replies.

jec3300

Automotive
Joined
Jan 30, 2006
Messages
55
Location
US
I have two groups of option buttons and I am trying to write code to make sure that one button from each group is selected. Any ideas on how to code this?

thanks for the help
 
Make the most used option the default and set this as selected in design mode. Now when the program is run the default will be selected, but the user can change it if needed. This way you will always have 1 option selected in each group.
 
Thanks, I got it to work. there was not one that was used the most so I wrote code to check to see if any option buttons are selected and if not sent a msg box requesting that they select one.

Again thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top