• About Radio Buttons
    1 replies, posted
Hi. Is there any tutorial about Radio buttons? The link [url]http://wiki.garrysmod.com/?title=P.RadioButton[/url] provides one but it seems that the group division doesn't work well. As it will show only one group on the panel, no matter actually how many group there are. That is, the value of self.selected are grouped, but on the panel when I select one, say, in A group, the selection in B group, which is independent from A group, will disappear too. How to fix this problem? Ps. I tried vgui.Create("RadioButton"), and it still will show the deselection of a radio button if another is selected.
One way of solving this problem is that put one group in a Panel List...
Sorry, you need to Log In to post a reply to this thread.