On 07/20/2018 11:43 AM, Bob Sneidar via use-livecode wrote:
I believe I may have mispoken in this thread. Setting the behavior of an object does NOT insert the behavior script in FRONT of the object in the message path. It inserts it in BACK. I know this because I have a selectionChanged handler in both the object and it's behavior, and a breakpoint in each handler. The breakpoint is triggered in the object handler, and NOT in the behavior handler, as you might expect!
That's the way object-oriented programming works. You set the default operation in the behavior script and then you can override it in the object if needed. I think of behavior scripts more or less as private backscripts of an object.
Otherwise, just follow Brian's suggestion. -- Mark Wieder ahsoftw...@gmail.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode