Custom property sets
Ron
rbarber at yhb.att.ne.jp
Mon Jul 8 02:29:01 EDT 2002
Greetings
I have two custompropertysets which I set on startup:
english
japanese
Each set has the same 3 keys but the keys have different content based on
the language:
btnnames
errors
fldcontents
The contents of btnnames is like this:
btn1,this is a btn
btn2, this is another btn
etc
I split it to make an array and reference the items using:
set the label of btn1 to btnnames[btn1]
This sets the name to the appropriate language throughout the substacks.
However, I have run into a problem referencing other customproperties. If I
make a customproperty in a substack, say 'prefs', and try to call it, it is
not available. Presumably because the custompropertyset of the main stack
does not contain this customproperty?
Is there a way to call customproperties in the substack without creating
another set, then setting the custompropertyset to the new set, referencing
the property, then resetting the set to 'english'?
Thanks
Ron
More information about the use-livecode
mailing list