disabling a group

jbv at souslelogo.com jbv at souslelogo.com
Wed Jan 13 16:04:05 EST 2021

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 remain the same.
>> What is the best way to make colors of graphics become lighter when 
>> the
>> group is disabled ?
>> I tried blending, but then the portions of other controls underneath 
>> the
>> graphic become visible...
> A thought:
> You might try overlaying the group or the graphic objects with another
> graphic rectangle, set the blending to make it translucent, and then
> toggle the visibility of said rectangular graphic.

yes, I thought of that; but since I have 20 groups on my card, it will
be simpler to add a line of script and change the graphic color when
toggling between enable & disable.
I was just wondering if there was a secret trick to disable the graphic
and make it look disabled like the rest of the group.

More information about the use-livecode mailing list