472,145 Members | 1,434 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

Selecting more than one option box?

I have a feedback form on my current project, and it's the first time I've used Option boxes for the user to select an option. I want the user to be able to select one option per question. IE:

Was this helpful?
- Very Helpful
- Helpful
- Not helpful

How much did you like this program?
- Very Much
- Likeable
- Not much

I want the user to select one from each question, but when I load the form, the user can only select one option altogether.
Any help?
Dec 15 '11 #1
6 4494
Guido Geurs
767 Expert 512MB
Options can be isolated in a frame.
By this, you can select only 1 option in that frame without influencing the options in the other frames.
Put the options for "Was this helpful?" in a frame and the options for "How much did you like this program?" in an other.
Dec 15 '11 #2
It still didn't work. Is there a way to group everything together to option 1-4, 5-6 etc is seperate?
Dec 16 '11 #3
Guido Geurs
767 Expert 512MB
You mention in your call "Option boxes" !!??
It's OptionButton (round) and CheckBox (square).
You can only isolate OptionButtons (round)!!!!
Is this fro VB6 or VBA ?
attached are 2 demos
Attached Files
File Type: zip isolate.zip (8.2 KB, 261 views)
Dec 16 '11 #4
Is it the "square" boxes (also known as radio boxes)?

Are you sure that you've placed your radio boxes in the frame, rather than close to it? They must be contained within the frame, or VB will assume the form is to act as it's frame.

Dec 16 '11 #5
Guido Geurs
767 Expert 512MB
It's OptionBUTTON or RadioBUTTON (round) and CheckBOXES (square)!

If you drag the frames, you will see that the buttons and boxes are also dragged with the frame so they are inside the frames.
Dec 17 '11 #6
8,435 Expert 8TB
Though the common term for this type of control is "radio button", VB6 calls them an "option button" - so for the purposes of discussion here we probably should all stick with that. Anyway...

Yes, a very common problem is that option buttons are simply positioned so that they look like they're in a frame.

To ensure an option button is inside a frame, try dragging the frame around as Guido suggested. If the option buttons stay behind, they're not inside the frame, but merely happen to be at the same spot on the form. Cut the option button, select the frame, then paste. That should do it.
Dec 18 '11 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by SGershon | last post: by
4 posts views Thread by BerkshireGuy | last post: by
2 posts views Thread by areef.islam | last post: by
6 posts views Thread by artev | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.