Control or right click to show popup menu

Richmond richmondmathewson at gmail.com
Sat Oct 1 05:08:13 EDT 2022


Why does this make me have a funny feeling you are still using a 
one-button mouse on a Macintosh?

Certainly, I would stick with

on mouseDown  MN
   if MN is 3 then . . .

Best, Richmond.

On 1.10.22 11:17, Peter Bogdanoff via use-livecode wrote:
> Hi,
>
> I want to control or right click on a line of text in a field to show a popup menu. So I’ve set the popup menu button to the loc of the mouse and it’s showing in place when the  controlKey is down.
>
> However, the menu items won’t show  while the control key is also down.
>
> Maybe I’m doing this wrong. In my application, how do make this work:  the user holds down the control key or right click  to do editing via choices provided by some kind of popup menu? Both Mac and Windows.
>
> Thanks,
> _______________________________________________
> 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