Re: disabling a group

2021-01-14 Thread jbv via use-livecode
Hi Paul, Thank you for sharing. I think I will stick with 1 single line of script that changes the graphic color. But I still need to understand why graphics colors don't change when disabled. Le 2021-01-13 22:29, Paul Hibbert via use-livecode a écrit : I have just used setProp in a behaviour bu

Re: disabling a group

2021-01-13 Thread Paul Hibbert via use-livecode
I have just used setProp in a behaviour button that was assigned to several groups made up of two graphic controls to represent a toggle switch. By setting one custom property the whole appearance of the group can easily be changed. I predefined the colours for each state in more custom properti

RE: disabling a group

2021-01-13 Thread chipsm themartinz.com via use-livecode
, 2021 1:04 PM To: How to use LiveCode Cc: j...@souslelogo.com Subject: Re: disabling a group Le 2021-01-13 15:34, Mark Wieder via use-livecode a écrit : > On 1/13/21 11:32 AM, jbv via use-livecode wrote: >> Hi list, >> I have a group that contains various controls, including grap

Re: disabling a group

2021-01-13 Thread jbv via use-livecode
Le 2021-01-13 15:34, Mark Wieder via use-livecode a écrit : On 1/13/21 11:32 AM, jbv via use-livecode wrote: Hi list, I have a group that contains various controls, including graphic objects. When I disable the group, the colors of every object becomes lighter, except for graphics whose colors

Re: disabling a group

2021-01-13 Thread Mark Wieder via use-livecode
On 1/13/21 11:32 AM, jbv via use-livecode wrote: Hi list, I have a group that contains various controls, including graphic objects. When I disable the group, the colors of every object becomes lighter, except for graphics whose colors remain the same. What is the best way to make colors of graphi

disabling a group

2021-01-13 Thread jbv via use-livecode
Hi list, I have a group that contains various controls, including graphic objects. When I disable the group, the colors of every object becomes lighter, except for graphics whose colors remain the same. What is the best way to make colors of graphics become lighter when the group is disabled ? I