Saving status of radio button in Preferences

dunbarx at aol.com dunbarx at aol.com
Wed Sep 25 20:02:02 EDT 2013


Yep.


With a radio button group that single property will do the trick. I was thinking about mixed states, but these would have to be checkboxes or ordinary buttons.



Craig



-----Original Message-----
From: Phil Davis <revdev at pdslabs.net>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Sep 25, 2013 6:40 pm
Subject: Re: Saving status of radio button in Preferences


Or save the hilitedButtonName of the group they're in, and then set that 
property of the group at startup. It's just one item.

Phil Davis


On 9/25/13 3:23 PM, dunbarx at aol.com wrote:
> Hi.
>
>
> I would save the status as a five item string of "true/False" in a custom 
property of the substack. I suppose you could map each button with its state 
explicitly, either with an array or with five lines with two items per line, one 
for the button reference and one for the status.
>
>
>
> Craig
>
>
> -----Original Message-----
> From: Charles Szasz <cszasz at me.com>
> To: use-livecode <use-livecode at lists.runrev.com>
> Sent: Wed, Sep 25, 2013 6:06 pm
> Subject: Saving status of radio button in Preferences
>
>
> How do you save the status of a radio button in a Preferences substack of app
> stack? I have five radio buttons in a substack that I need to save as a
> preferences file.
>
> Sent from my iPad
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>   
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 




More information about the use-livecode mailing list