How To Send Before?

Monte Goulding monte at sweattechnologies.com
Wed Nov 20 06:27:45 EST 2013


On 20/11/2013, at 10:18 PM, Scott Rossi <scott at tactilemedia.com> wrote:

> With the before/after implementations, it doesn't seem possible to do
> this.  You can send a custom message, of course, but apparently not a
> built-in event message at the same level of the message hierarchy (before
> or after).

Hmm... I don't think they are treated differently. So you just need to dispatch or send to me:

-- behavior script
before mouseDoubleUp
    mouseUp -- no before msg
    dispatch "mouseUp" to me -- you get the before msg
end mosueDoubleUp

before mouseUp

end mouseUp

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!








More information about the use-livecode mailing list