Inheritance and Custom Properties
Mark Wieder
mwieder at ahsoftware.net
Thu Apr 16 11:18:22 EDT 2009
David-
Wednesday, April 15, 2009, 4:58:58 AM, you wrote:
> If you want them "inherited" you need to define a "getprop" handler.
Unfortunately, it seems that behavior controls are the exception to
this. Placing the getprop handler in a behavior button does not
implement inherited custom properties, while placing them in the stack
script does.
...and note that you probably don't want to inherit the setprop
handler: changing the value of the custom property in a child object
would change the value for all objects that inherit that property.
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list