DesktopRadioGroup assigned a constant with a carriage return within it causes extra RadioButtons to be added the group
Feedback Case Number: 75699
https://tracker.xojo.com/xojoinc/xojo/-/issues/75699
Odd little one this. I have a radio button group that is fed by a set of constants. This allows me to support multiple languages. I noticed that one language in particular was showing an extra RadioButton and that the spacing was completely messed up. On closer inspection I discovered that the was a carriage return at the end of the constant. This was acting as a new RadioButton with no text assigned to it.
Obviously, I don’t want to prevent constants with carriage returns in, they’re useful. However, it could be good to have a warning on RadioButtonGroups that use constants that contain carriage returns.
1 post - 1 participant