Thanks Kalus. I kind of knew about that b ut never had occasion to use it. For some reason or other, I didn't make the connection as far as substacks inheriting their main stack's filename. Pete lcSQL Software <http://www.lcsql.com>
On Wed, May 30, 2012 at 11:45 AM, Klaus on-rev <[email protected]>wrote: > Hi Pete, > > Am 30.05.2012 um 20:38 schrieb Peter Haworth: > > > Thanks Klaus and Mark. For now, I only need this for the main stack but > > good to know the difference for the future. > > same applies to all properties of objects! > Some props are inherited from the parent object and return EMPTY when > queried. > > Example: > You have set the TEXTFONT of a field, so all words and characters in that > field inherit this property. > > answer the textfont of fld 1 -> will give you the font name that you set > the field to > answer the textfont of CHAR 1 of fld 1 -> will give EMPTY because the > first character does not have a textfont property of his own! > > But: > answer the EFFECTIVE textfont of CHAR 1 of fld 1 -> will give you the font > name fo the field. > etc... > > Get the picture? > > > Pete > > lcSQL Software <http://www.lcsql.com> > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > [email protected] > > > _______________________________________________ > 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 > _______________________________________________ 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
