Syntax: mouseUp mouseButtonNumber
Roger Eller
roger.e.eller at sealedair.com
Thu Sep 22 17:27:55 EDT 2016
Thanks Mike! I don't think the docs could have been any muddier. ;)
~Roger
On Thu, Sep 22, 2016 at 5:24 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> The parameter is passed on, not set by you. To do what you want it would
> be more like
>
> on mouseup pvar
> if pvar is 3 then
> do stuff
>
> end if
> end mouseup
>
> On Thu, Sep 22, 2016 at 2:11 PM, Roger Eller <roger.e.eller at sealedair.com>
> wrote:
>
> > The script editor won't compile a mouseUp handler with 1 2 or 3 as a
> > parameter.
> >
> > on mouseUp 3
> > do stuff
> > end mouseUp
> >
> > I am trying to get a right-click to show a contextual menu on Windows.
> >
> > ~Roger
>
More information about the use-livecode
mailing list