[RESOLVED] How can I select two radiobuttons at the same time?
Dear All
How can I select two radiobuttons at the same time (what should I change in their properties)?
Re: How can I select two radiobuttons at the same time?
The point of a radio button is that you cannot select more than one.. unless they have the same value.
To have to option of more than one, change them to check boxes and scan them all - or don't put them in a group.
Re: How can I select two radiobuttons at the same time?
Actually I found a program that uses radiobuttons and it has the ability to select them both
Re: How can I select two radiobuttons at the same time?
You would need to put the radio buttons in container controls such as a picture box or a frame.
Re: How can I select two radiobuttons at the same time?
Well depends how you use them then.
If you put the in a group / under the same name you can only select one (each will have its own value).
However, you could use them like check boxes as long as they don't have the same name (VB) or you don't use a group/frame (VBA).
How are you using them at the moment?
Just ensure that they have a state default (say false/0). If they have an optin for tri-state, turn that off (otherwise you may have nulls to deal with too).
1 Attachment(s)
Re: How can I select two radiobuttons at the same time?
Attached is an example using a picture box control. I prefer those over frames because you can set the border stype to none and it looks like the option buttons are actually on the form.
There are six option buttons on my sample form grouped into three buttons apiece.
You can select one button from each group.
Re: How can I select two radiobuttons at the same time?
Thank you very much Hack for your valuable post.
Thank you Ecniv I've taken your advice by changing them into check boxes:wave:
Re: How can I select two radiobuttons at the same time?
If you consider this resolved, you could help us out by pulling down the Thread Tools menu and clicking the Mark Thread Resolved menu item. That will let everyone know that you have your answer.
Thank you. :)