The properties property
Peter Haworth
pete at lcsql.com
Wed Nov 21 11:52:35 EST 2012
Thanks for the history behind this Richard.
I also tried using the templatexxx objects as a source of all properties
but it appears that they are basically empty until you set their
properties. Or perhaps I was using the wrong syntax. I tried "put the
templateStack into tArray" and "put the keys of the templatestack into
tProps" with no luck (compile/runtime errors), so looks like that is a
blind alley too.
Since the bug you referred to has been there since 2005, I'm not holding my
breath that it will ever get any attention!
Pete
lcSQL Software <http://www.lcsql.com>
On Tue, Nov 20, 2012 at 7:26 PM, Richard Gaskin
<ambassador at fourthworld.com>wrote:
> Peter Haworth wrote:
>
> > Missing out the ones that can be derived from others seems reasonable
> > and I've found a property named colors that fits that bill in terms
> > of fore/background colors/patterns etc, and that the decorations
> > property will contain "system" if systemWindow is true (or vice versa
> > I guess). Still mystified by textAlign though.
>
> It can sometimes help maintain one's sanity to know the backstory for
> something as seemingly bizarre as the current state of the properties
> function:
>
> It was originally added back in the MetaCard days at Kevin's request, so
> the first RunRev IDE could easily reproduce objects with syntax as simple
> as "set the properties of <obj> to the properties of <obj>".
>
> After Raney added that for them, RunRev has since acquired the code base
> and, somewhat ironically, no longer depend on this property as they once
> did.
>
> So the properties you'll see supported tend to be older ones, and
> redundant ones like backgroundColor, also covered by the colors, aren't
> bothered with because they aren't needed for the original purpose of the
> function.
>
> All that said, as long as it's there is can be very helpful, but only if
> they make an effort to maintain it whenver they add new properties -
> there's a request in the bug DB to bring it current:
>
> <http://quality.runrev.com/**show_bug.cgi?id=2732<http://quality.runrev.com/show_bug.cgi?id=2732>
> >
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for Desktop, Mobile, and Web
> ______________________________**______________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
More information about the use-livecode
mailing list