Front Scripts
Peter Haworth
pete at lcsql.com
Wed Jul 18 15:47:28 EDT 2012
Thank you Mark, I'm glad to hear that's how it works. I am, of course,
planning on passing the message.
I checked out Richard Gaskin's excellent write up on extending the message
path before asking this question, but it it doesn't really deal with this
situation - Richard, might be worth a note in the section on front/back
scripts?
Pete
lcSQL Software <http://www.lcsql.com>
On Wed, Jul 18, 2012 at 12:10 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> Hi,
>
> That's very simple. One front script comes after the other. If the first
> front script doesn't pass the message, then the second front script won't
> run. If you're making a plugin, you need to pass the message and good
> developers do this.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc.
> Contact me http://qery.us/du
>
>
>
> On 18 jul 2012, at 21:03, Peter Haworth wrote:
>
> > I'm wondering what happens if two front scripts each contain a handler
> for
> > the same message.
> >
> > I can envisage this happening if, for example, a product I provide
> inserts
> > a front script and the user is using a product from a different developer
> > that also inserts a froct script containing a handler that is in mine.
> >
> > I can't imagine that the outcome would be good!
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list