Right click menu on Windows

Klaus Major klaus at major-k.de
Tue Aug 24 14:59:27 EDT 2004


Hi Mark,

> Hi,
>
> I'm trying to create a right click menu that come up like in the IDE. 
> I want right click control of cut, copy, paste, & clear. My control-C 
> and control-V work fine.
> Anyone know where to look for this capability?

Create a popup button with the menus you need and put it offscreen...
(I think hiding the button does only work on a mac...?)

Then script:

on mousedown whatmouse
    if whatmouse = 3 then ## right- or control-click!
      popup btn "you btn here"
   end if
end mousedown

Hope that helps...

> Mark

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list