I want to use a WebRadioGroup with 2 rows and 2 columns.
In the IDE, I’ve dragged an instance onto a WebPage. It defaults to 1 Column, 2 Rows. Using the IDE, how to change this to my desired format?
Thanks,
Tim
I want to use a WebRadioGroup with 2 rows and 2 columns.
In the IDE, I’ve dragged an instance onto a WebPage. It defaults to 1 Column, 2 Rows. Using the IDE, how to change this to my desired format?
Thanks,
Tim
Hi Tim,
I’m sure other folks might have a better response, but in my experience each WebRadioGroup is a single column. For your example I just created (2) groups, one for each column. You could then use the SelectionChanged event of each control to tell the other control to de-select any buttons in its column. This makes it appear to behave as a single control.
Sub SelectionChanged(button As WebRadioButton) Handles SelectionChanged
Self.RadioGroup2.SelectedIndex = -1
End Sub
Sub SelectionChanged(button As WebRadioButton) Handles SelectionChanged
Self.RadioGroup1.SelectedIndex = -1
End Sub
Hi William,
Yes, that is a work around. But I guess the question then is, why is there a selection in the IDE for the number of Columns??
I guess we’ll have to wait for Ricardo to chime in!
Thank you for offering the work around!
Tim
Hi Tim, where are you seeing the number of columns?
Looks like you opened a web1 project in web2 and the IDE is confused.
Hello Alberto.
That is partially correct. I did a copy/paste of controls from a Web1 onto a Web2.
Ok, WebRadioGroup from web1 is different than web2.
You can add a new one with 2024r2.1 and you will see there is no ‘Horizontal’, ‘Column Count’ among others.
You may want to add a new Issue as a bug (should not show those options) and a Feature Request if you want those options back.
Does anyone at Xojo actually use Windows? Working on a Web App is incredibly slow, due to the IDE taking forever to do anything. Moving objects, lassoing objects. Copy/Paste. Pretty much everything, other than typing code, takes forever and a year. I am certain no Xojo Engineer would ever put up with that.
Just hoping to get someones attention…
Tim