I looked @ the interface guide to see if it could explain to me better, but I went to help on in dream maker and it said:
usr << winget(usr, "button1;button2", "is-checked")
Like I'm going to have 2 radio buttons 1 male 1 female.
How do i make it if like the male radio is checked or w/e it makes the var (pgender) = male ?
ID:157750
Jan 6 2010, 6:14 pm
|
|
Jan 6 2010, 7:22 pm
|
|
Pseudocode
|
That's a bit more then you need.
Lets go step by step You will have to modify it slightly to work the way you want it to this is just an example. ->Lets add some code mob Now go into your interface...(or make one) Under Windows open the window you want to put the buttons on. Create two buttons Edit the button Under Options -Put this in text Male -Put this in command SetGender 0 -Change Button type to Radio -Put this in Group Gender -Click Ok Edit the other button Under Options -Put this in text Female -Put this in command SetGender 1 -Change Button type to Radio -Put this in Group Gender -Click Ok Assuming you have an output on your interface that is set to default and followed all the steps correctly and none of my steps are in any way screwed up or to vague... That should answer your question. |