Color of a graphic

Björnke von Gierke bvg at mac.com
Wed Nov 9 11:02:19 EST 2011


I suggest not to disable graphics. Unless they're interactive to begin with, disabling them is kinda pointless. Instead change the foregroundcolor to a grey.

put "100,100,100" into theGrey
set the foregroundcolor of graphic "myArrow" to theGrey

On 9 Nov 2011, at 04:12, Pete wrote:

> Thanks Craig, good to know it's not just me!
> 
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> 
> 
> 
> 
> On Tue, Nov 8, 2011 at 6:14 PM, <dunbarx at aol.com> wrote:
> 
>> Pete.
>> 
>> 
>> Interesting. Adding color seems to disable, er, disabling.
>> 
>> 
>> 
>> Why not store the color in a custom property, and when you disable the
>> graphic,  clear the color as well, restoring it when you re-enable.
>> 
>> 
>> 
>> Craig Newman
>> 
>> 
>> 
>> 
>> -----Original Message-----
>> From: Pete <pete at mollysrevenge.com>
>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>> Sent: Tue, Nov 8, 2011 11:50 am
>> Subject: Color of a graphic
>> 
>> 
>> I set up a line with an arrow at the end as a graphic.  If I disable it, it
>> shows up grey.  If I change the color of it (the text/border color), the
>> color doesn't change when I disable it.
>> 
>> I can change the blendlevel to make it appear disabled but is there some
>> other property to make it appear disabled visually?
>> 
>> Pete
>> Molly's Revenge <http://www.mollysrevenge.com>
>> _______________________________________________
>> 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
>> 
>> 
> _______________________________________________
> 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


-- 
Watch live presentations every Saturday:
http://livecode.tv

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/





More information about the use-livecode mailing list