Question.
I want to add a SINGLE radio button, not a RADIO GROUP, but it appears that it is no longer in the Library.
Has it been removed?
If so, how do I make a radio group into a single radio button.
Regards
Question.
I want to add a SINGLE radio button, not a RADIO GROUP, but it appears that it is no longer in the Library.
Has it been removed?
If so, how do I make a radio group into a single radio button.
Regards
Just out of curiosity why doesn’t a RadioGroup with 1 item suffice?
Radio Button does not show up in the Library for API 2.0 projects, but you can change the superclass of DesktopRadioGroup to DesktopRadioButton to turn it into a single Radio Button as per your original request.
Hi there.
Found my solution.
All I need do is remove one option.
Just found it Tim.
Thanks for your response.
Regards
A single Radio Button does not make sense. Radio Buttons are used to select one among many. I think a Checkbox is what you need.
that’s an idea too, Gilles.
Thanks for the idea.
Regards
Michael
While a radio button might fit better with the window’s design, it would still confuse the user.
For an on/off/partial button, you should use a checkbox. That’s what it’s for, and the user intuitively knows how it works.
With a radio button, the user would expect at least two options to cycle through.
Additionally, the user can’t uncheck a single radio button after it has been checked.
Definitively, a checkbox must be used instead.
Exactly, but this could be solved by code. But it’s still not the intended use of a RadioButton (and maybe the user even does not realize it could be deselected after selecting it).
I’d call this bad design…
Granted… add a push button near the radio button so the user can deselect the radio button using the push button
Proof of the bad design…
Granted. In this case, it’d be a hidden trick, so even worse than having an UI to deselect the button.
Not only you would . There are interface guidelines both from Apple and Microsoft; Apple’s ones clearly state about using the correct controls for a given situation (not sure about the one for Windows). These guidelines exist because it’s important to not confuse users.
A simple:
Function MouseDown(x As Integer, y As Integer) Handles MouseDown as Boolean
Me.Value = Not Me.Value
Return True
End Function
Would turn a RadioButton into a RadioSwitch. But I advise against “deceiving” the user in this way.