What are the default values for the templateGraphic
Jan Schenkel
janschenkel at yahoo.com
Fri Nov 26 12:42:22 EST 2004
--- Jim Hurley <jhurley at infostations.com> wrote:
> Scott,
>
> Thanks for your response.
>
> However, when I use your "circle" above I get an
> opaque circle filled
> with the color yellow. That was why I inserted the
> reset the
> templateGraphic *before* creating the circle
> graphic--but only with
> this stack. I suspect there is something corrupted
> in my stack--how
> many times has this easy assumption turned out to be
> wrong?
>
> I can, as I said, set the foregoundcolor to black,
> but I should have
> thought that that would be the default value--the
> value you would get
> after one "reset the templateGraphic".
>
> The only way I can think of testing this issue is to
> examine the
> default values of the templategraphic, and this I
> don't see how to do.
>
> Jim
>
Hi Jim,
Color inheritance may be at work here : if you don't
specify a foregroundColor, then Revolution will look
for a foregroundColor in the enclosing groups, the
card, the stack, mainstack, etc.
Jan Schenkel.
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the use-livecode
mailing list