I forgot how to put down RadioButton instead of the awful unwanted RadioGroup
Why on earth can we not have a box in the control toolbox to select just raidobutton also instead of some cryptic way to find it.
I forgot how to put down RadioButton instead of the awful unwanted RadioGroup
Why on earth can we not have a box in the control toolbox to select just raidobutton also instead of some cryptic way to find it.
Add a DesktopRadioGroup, change the Super to DesktopRadioButton.
I suppose this is the deprecated one. To get one, file an old Xojo version (say 2021r2.1). New Project, and you will be able to add it there.
Thanks
I don’t think its deprecated since it was re-added again back then when people enraged over the RadioGroup that does not cover nearly all use cases.
I think that Emile is talking about RadioButton vs DesktopRadioButton.
RadioButton (without Desktop) is deprecated (API 1 or something) and DesktopRadioButton is the current control. Only my guess.
DesktopRadioButton is not deprecated, in fact it is required by DesktopRadioGroup. So it never will be. It should be in the Library but I doubt it ever will be.
It also doesn’t cover most other cases, only basic ones.
You can “group” RadioButtons (Desktop or otherwise) on Canvases to achieve pretty much any combination you wish.
I think everyone agrees that RadioGroups (Desktop or otherwise) only work for a very few options where items are grouped together right next to each other, and you don’t care about the layout too much.
I’m not aware of any significant shortcomings of RadioButtons, that can’t be fixed with use of containing canvas or other controls.