basic optionbutton help

Ken Ray kray at sonsothunder.com
Thu Jan 23 12:10:01 EST 2003


You need to change:

  put false into button "Female"

to:

  set the hilite of button "Female" to false

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "sschofield" <sschofield at computing.dundee.ac.uk>
To: <use-revolution at lists.runrev.com>
Sent: Thursday, January 23, 2003 9:46 AM
Subject: RE: basic optionbutton help


> This is obviously so easy to do I am missing the point. I've got 2 radio
> buttons, Male and Female (would like them Sex(0) and Sex(1) but couldn't
> work that out either). Now what?
>
> I've gone to the manual, put in the
>      group button "Male" and button "Female"                }as per manual
>      set the radioBehavior of last group to true            }as per manual
>      put false into button "Male"                           }unsuccessful
> attempt to set it back to false
>      put false into button "Female"                         }ditto
>
> But nothing seems to happen.
>
> I then have a line on mousedown in button Male
> on mousedown
>   if "New Button 1" is true then
>     put "you is female" into field "MyMessage"
>     put false into button "Female"
>   else
>     put "you is male" into field "MyMessage"
>     put false into button "Male"
>   end if
>
> This put a message in the first time, but doesn't blank out the other
> end mousedown
>
> But nothing seems to happen. My colleague and I have spent the whole
> afternoon on this. Any help appreciated. I'm told revolution is intuitive,
> so I guess we're right out of tuit here!
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list