Terence Heaford <t.heaford@...> writes: > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn’t find where it says do not put it in the stack script. > The dictionary just says the message is sent to the destination card when you open a stack.
As you yourself quoted, "the message is sent to the destination *card*". The card has the first crack at handling the message. If the handler is in the stack script then it's accessible at the root of the message path from any stack in the ecosystem. Placing it in the card script localizes its effect. -- 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