disabling a group

chipsm themartinz.com chipsm at themartinz.com
Wed Jan 13 16:13:27 EST 2021

I would consider creating a behavior that either hides the graphic or set the graphic to a lighter value.


Clarence Martin
Email: chipsm at themartinz.com
Phone: 626 6965561

-----Original Message-----
From: use-livecode <use-livecode-bounces at lists.runrev.com> On Behalf Of jbv via use-livecode
Sent: Wednesday, January 13, 2021 1:04 PM
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: jbv at 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 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.

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

More information about the use-livecode mailing list