« Return to Thread: [0.8] Context menu

[0.8] Context menu

by Philippe Poulard :: Rate this Message:

Reply to Author | View in Thread

Hi folks,

I set a context menu to some widget.
I expect that on a right click event the menu appears, and it does, but
the browser's context menu appeared on top of it !

I have registered a listener and tried various actions on the mouse event:
-e.preventDefault();
-e.stopPropagation();

But it still doesn't work :(
Did I miss anything ?

Moreover, when setting the context menu property on a widget, it would
be kind to disable systematically the browser's behaviour.
If it is not very reliable (due to lack of interoperability of
browsers), perhaps it would be relevant to display the user-defined
context menu at another place, so that the browser one won't overlap it.

Thanks for your help.

--
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: [0.8] Context menu

LightInTheBox - Buy quality products at wholesale price!