Re: "send mouseUp to…" vs "click at the loc of..".

Peter Haworth pete at lcsql.com
Fri Jan 3 13:48:52 EST 2014


On Fri, Jan 3, 2014 at 10:36 AM, Richmond <richmondmathewson at gmail.com>wrote:

> When I tried this:
>
> on mouseUp
>    dispatch function "mouseUp" to btn "XYZ"
> end mouseUp
>
> NOTHING happened
>

mouseUp isn't a function, try - dispatch "mouseUp" to btn "XYZ".

It's a good idea to check the it variable after dispatch.  It will contain
"handled" if all worked OK or "unhandled" if not.

If you dispatch a function call, the returned value will be in the result
variable.  And you can pass parameters to either form by - dispatch
"mouseUp" to button "XYZ" with 1.

Pete
lcSQL Software <http://www.lcsql.com>



More information about the use-livecode mailing list