[Laszlo-user] disable right mouse button context menu?

Denis Bohm denis at fireflydesign.com
Tue Mar 28 15:22:14 EST 2006


I tried that also, but I still get a menu with two items: "Settings..." 
and "About Macromedia Flash Player 8...".

Henry Minsky wrote:
> Embarassingly enough, there is no API call to remove a context menu 
> from a view.
>
> The easiest thing I guess would be to install a new empty menu that 
> has no items in place of the old one, using something like
>
> myview.setContextMenu(new LzContextMenu())
>
> For future feature enchancement, I should probably add code to 
> setContextMenu to interpret an argument of null to mean remove the 
> existing menu.
>
>
> On 3/28/06, *Denis Bohm* <denis at fireflydesign.com 
> <mailto:denis at fireflydesign.com>> wrote:
>
>     Does anyone know how to disable the right mouse button menu?
>
>     I tried setting menu="false" on the embed tag and also called
>     LzBrowser.showMenu(false).  Neither seems to work.
>     _______________________________________________
>     Laszlo-user mailing list
>     Laszlo-user at openlaszlo.org <mailto:Laszlo-user at openlaszlo.org>
>     http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>     <http://www.openlaszlo.org/mailman/listinfo/laszlo-user>
>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20060328/a722fde2/attachment.html


More information about the Laszlo-user mailing list