Setting Colors for Graphic Objects

dunbarx at aol.com dunbarx at aol.com
Sun Nov 3 23:59:37 CET 2013


Hi.


Have you set the "opaque" property to "true"? The default is "false"


Craig Newman






   set the backgroundColor of graphic "OvalTest" of this card to "#000000"
   set the foregroundColor of graphic "OvalTest" of this card to "#000000"
   wait 1 second
   hide graphic "OvalTest" of this card 
   wait 1 second
   show graphic "OvalTest" of this card 





-----Original Message-----
From: Rick Harrison <harrison at all-auctions.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sun, Nov 3, 2013 4:24 pm
Subject: Setting Colors for Graphic Objects


Hi there,

I have a white filled oval graphic that I’m trying to change to black.

   set the backgroundColor of graphic "OvalTest" of this card to "#000000"
   set the foregroundColor of graphic "OvalTest" of this card to "#000000"
   wait 1 second
   hide graphic "OvalTest" of this card 
   wait 1 second
   show graphic "OvalTest" of this card 

When I go into the “Colors and Patterns” for this graphic
it shows they were set to black, yet the graphic object still appears to be 
white!

What is going on here?  Is this a bug?

Let me know what you get if you try this.

Thanks,

Rick


_______________________________________________
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

 


More information about the use-livecode mailing list