No backgroundcolor

Dan Shafer revdan at danshafer.com
Mon Nov 28 16:25:21 EST 2005


Jacque...

Um, actually, foregroundcolor controls both text and border color.  
bordercolor only works on buttons and scrollbars according to the docs.


On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:

> R. Hillen wrote:
>> Hello list,
>> I wanted to make a green rect with a red edge, so I wrote
>>       create invisible graphic
>>       set the style of it to rectangle
>>       set the rect of it to 20,20,50,50
>>       set the foregroundcolor of it to 255,0,0 --RGB_Color
>>       set the backgroundcolor of it to 0,255,0 --RGB_Color
>>       set the linesize of it to 2
>>       show it
>> I got a white rect with a red edge. Why?
>
> I'm not sure, because the "foregroundcolor" controls the text  
> color, not the border. If this wasn't a typo, then set the  
> "bordercolor" instead.
>
> Also, do the opaque thing like others have suggested.
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
 From http://www.shafermediastore.com/tech_main.html





More information about the use-livecode mailing list