Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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
Jan 30, 2006
55
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
 
Replies continue below

Recommended for you

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