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 properties, I’m sure this 
could be adapted to suit your case.

Rather than explain everything in detail here, I have uploaded a stripped down 
stack to dropbox which I’m sure you could easily modify the behaviour script to 
change the appearance of your graphics in a similar way. If you need any more 
explanation, just ask, but I’m sure you will get the idea.

Dropbox Link; 
https://www.dropbox.com/s/misiog5bwathpgy/Toggle%20Switch.livecode?dl=0

Paul

> On 13Jan, 2021, at 1:04 PM, jbv via use-livecode 
>  wrote:
> 
> 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC & Mac M1 Chip

2021-01-13 Thread Bob Sneidar via use-livecode
You are new here, so I will just say that among the forbidden topics on this 
list, sex, politics, religion (pretty much everything that really matters in 
this world) is the subject of cheese. Consider yourself notified. ;-)

Bob S


On Jan 13, 2021, at 1:15 PM, JeeJeeStudio via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Stay off the fake Gouda cheese, maybe it's Chinese origin.
Only take the original Dutch Gouda, which is protected by the way, although
in China they don't mind that.

Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode <
use-livecode@lists.runrev.com>:


JeeJeeStudio:

One could ask him/her-self the question if it is still ethical to
buy a reall Mac? Seeing the child-labor in their factories in China
is still present.

I'm glad you went there! Thank you. I do ask myself, and the answer is
clear. Whether it's a Mac, or any other product. Same deal.

Not to mention forced organ harvesting (often while conscious), torture,
gulags, repression (now becoming fashionable), ethnic/racial crackdowns,
thought/political/religious crackdowns, IP theft, debt traps,
poison/health risks, safety flaws, hacking and theft, credible plan for
world domination, worker hazards and living/working conditions, and the
list could go on for many pages.

I'm typing this on a PC laptop, with a fan blowing on my face, at a
desk, sitting on a wheelchair, under a light bulb, all of which probably
have the same origin. Consumer choices are limited, but it does bother
me. There's a real need for products produced in a context where human
rights are respected.

(I consider that human decency, not politics. And for the record, I'm
completely off cheese at the moment; developed allergic reaction to it.)

Best wishes,

Curry Kenworthy

Custom Software Development

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


Cmi5 eLearning Standard in LiveCode

2021-01-13 Thread Brian K. Duck via use-livecode
Hi All,

I'm trying to see when we're all available for CMI5 in LiveCode Kickoff via 
Zoom.

Please visit
https://www.when2meet.com/?10704179-Y2apN
to let me know when you're available.

This url is for a free app called When2Meet that I just read about in TidBits….


I’ve created a login & password, and you will be prompted to as well, for THIS 
EVENT.

Once you’ve done that, you should be able to drag on the calendar to indicate 
in GREEN when you are available, the we can set a time to meet in Zoom.

I’ve bcc'ed everyone to also get this in your email, and to set it as a 
reminder, but it should also appear on the list if things go well...

Thanks,
Brian Duck
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC & Mac M1 Chip

2021-01-13 Thread JeeJeeStudio via use-livecode
Stay off the fake Gouda cheese, maybe it's Chinese origin.
Only take the original Dutch Gouda, which is protected by the way, although
in China they don't mind that.

Op zo 10 jan. 2021 om 23:36 schreef Curry Kenworthy via use-livecode <
use-livecode@lists.runrev.com>:

>
> JeeJeeStudio:
>
>  > One could ask him/her-self the question if it is still ethical to
>  > buy a reall Mac? Seeing the child-labor in their factories in China
>  > is still present.
>
> I'm glad you went there! Thank you. I do ask myself, and the answer is
> clear. Whether it's a Mac, or any other product. Same deal.
>
> Not to mention forced organ harvesting (often while conscious), torture,
> gulags, repression (now becoming fashionable), ethnic/racial crackdowns,
> thought/political/religious crackdowns, IP theft, debt traps,
> poison/health risks, safety flaws, hacking and theft, credible plan for
> world domination, worker hazards and living/working conditions, and the
> list could go on for many pages.
>
> I'm typing this on a PC laptop, with a fan blowing on my face, at a
> desk, sitting on a wheelchair, under a light bulb, all of which probably
> have the same origin. Consumer choices are limited, but it does bother
> me. There's a real need for products produced in a context where human
> rights are respected.
>
> (I consider that human decency, not politics. And for the record, I'm
> completely off cheese at the moment; developed allergic reaction to it.)
>
> Best wishes,
>
> Curry Kenworthy
>
> Custom Software Development
> "Better Methods, Better Results"
> LiveCode Training and Consulting
> http://livecodeconsulting.com/
>
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: disabling a group

2021-01-13 Thread chipsm themartinz.com via use-livecode
I would consider creating a behavior that either hides the graphic or set the 
graphic to a lighter value.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 626 6965561

-Original Message-
From: use-livecode  On Behalf Of jbv via 
use-livecode
Sent: Wednesday, January 13, 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 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: [ANN] Release 9.6.2 RC-2

2021-01-13 Thread Michael Kristensen via use-livecode
Richard Gaskin wrote:

> We've been here before...
> 
> 68k -> PPC
> Classic -> OS X
> PPC -> Intel
> 32-bit -> 64-bit


More form memory-land:

Yesterday I downloaded SuperCard 4.8.1 Trail wich still is maintained.

I was able to convert some 30 years old SC stacks so they could run again (at 
least for 30 days).

It look exactly like when I left it for Revolution and Livecode.

Richard, you might be the first person I ever emailed to, back then when we had 
telephone modems (ky)

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


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 tried blending, but then the portions of other controls underneath the
graphic become visible...

Thanks in advance.

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