Hey,
May sound like a stupid question, however i can't seem to get the radio buttons to work the way i want them to. What variables are we supposed to be using the group or the value?
I tried to set a group and a value, however the value is never turned on when the indicator is returned to the program. If i dont set a group for all of the radio buttons in my screen then they are just always all checked (Which makes sense). So if anyone could point me in the right direction as to getting the radio buttons working. Do i need to manage them differently then checkboxes in my RPG code?
Thanks,
Radio Buttons
-
- Profound User
- Posts: 49
- Joined: Wed Jan 08, 2014 11:49 am
- First Name: Michael
- Last Name: Pilote
- Company Name: Oceanex
- Phone: (514) 875-8558
- State / Province: Quebec
- Country: Canada
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Radio Buttons
You should bind the RPG fielld to the "radio button group" property. Use the same field for all buttons in the same group.
Use a separate ''value' property for each radio button. This determines what value gets placed in the 'radio button group' variable, so it should be different for each button.
See the following documentation for details:
http://www.profoundlogic.com/docs/displ ... io+Buttons
Use a separate ''value' property for each radio button. This determines what value gets placed in the 'radio button group' variable, so it should be different for each button.
See the following documentation for details:
http://www.profoundlogic.com/docs/displ ... io+Buttons
-
- Profound User
- Posts: 49
- Joined: Wed Jan 08, 2014 11:49 am
- First Name: Michael
- Last Name: Pilote
- Company Name: Oceanex
- Phone: (514) 875-8558
- State / Province: Quebec
- Country: Canada
- Contact:
Re: Radio Buttons
Thanks Scott! That did the trick. I had looked through the documentation, however i didn't go through the walkthroughs. Could be a good idea to put a link to the walkthrough directly in the widget's documentation.
Thanks again!
Thanks again!
Who is online
Users browsing this forum: No registered users and 1 guest