Hi Jacque, 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. Pete lcSQL Software <http://www.lcsql.com>
On Tue, Nov 20, 2012 at 2:42 PM, J. Landman Gay <[email protected]>wrote: > On 11/20/12 3:11 PM, Peter Haworth wrote: > >> I think I've seen posts in the past mentioning that getting the properties >> of an object doesn't return all of them but I didn't realise until today >> just how many are missing. >> >> I've only been working with getting the properties of a stack but here's >> just a partial list of missing properties: >> >> mainStack >> systemWindow >> Just about all the color/pattern properties (foregroundcolor, >> foregroundPattern, etc) >> location >> textalign >> >> Is there any reliable way of getting a complete list of the properties >> associated with an object? >> > > The only ones listed are the ones that can't be derived from the > primaries. I.e., loc, height, width, etc can be determined from the rect. > Mainstack can be determined from the long name. Specific colors and > patterns can be derived from the colors and patterns properties. Not sure > about text properties but there's probably something. > > -- > Jacqueline Landman Gay | [email protected] > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > [email protected] > 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> > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
