Radio Buttons on multiple cards

Peter Bogdanoff bogdanoff at me.com
Sat Nov 17 14:27:17 EST 2018


I did get it to work, as you said, by setting each button individually, rather than trying to set the whole group. So I’m good. Thanks!

Peter

> On Nov 17, 2018, at 1:28 PM, Phil Davis via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hmmm. Here is what I tried, and the hilites 'stick' across all cards in the stack:
> - create stack
> - add 2 radio buttons
> - group them
> - set the sharedHilite of each radio to true
> - add another generic button to the card
> - group the newest button with the group of radios
> - make new card
> - place that last group on card 2
> 
> Result:
> Radio hilites stick across both cards
> 
> I'm not sure why your experience would be different than this. Do you have any scripts that fiddle with the radio hilites?
> 
> Phil
> 
> 
> On 11/17/18 8:08 AM, Peter Bogdanoff via use-livecode wrote:
>> Thanks Phil, that did it. I was trying to set the group sharedHilite, which can’t be done.
>> 
>> Peter
>> 
>>> On Nov 17, 2018, at 3:04 AM, Phil Davis via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Hi Peter,
>>> 
>>> Set the sharedHilite of each button to true. That'll give you what you want.
>>> 
>>> Phil Davis
>>> 
>>> 
>>> On 11/16/18 9:28 PM, Peter Bogdanoff via use-livecode wrote:
>>>> Hi,
>>>> 
>>>> A question about LC mechanics:
>>>> 
>>>> I have a stack of 10 cards, sharing the same background on each. That background group contains a sub group of a 2-button radio set.
>>>> 
>>>> When the user selects radio button 2 on any particular card, I want radio button 2 of all 10 cards to be also selected. All I see is the button set working independently on each card.
>>>> 
>>>> I don’t see this universal choice as a button property. Is this to be done by scripting?
>>>> 
>>>> Peter Bogdanoff
>>>> ArtsInteractive
>>>> _______________________________________________
>>>> 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
>> 
>> _______________________________________________
>> 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