> On 1 Jun 2017, at 8:27 pm, Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Would export fooCopySpecial() as a function accessible from LCS where you can > do: > > fooCopySpecial(the long id of widget 1, ...)
Why not check for CopySpecial() if the object is a widget before passing to the owner? It makes more sense that the library handler a widget exports is part of the message path. That way we can dispatch to the instance and the instance can overload/override it if they want necessary. Cheers Monte _______________________________________________ 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