Hi,

please help me to debug (or even better - to tap) events to PopupPanel/
MenuBar.

I'm trying to create context menu over OpenLayers map. Composite which
contains map sinks mouse events and I can see that those events are
processed. When I'm creating PopupPanel containing MenuBar, PopupPanel
shows in place I expect after Event.ONCONTEXTMENU event and it
correctly responses to mouse clicks and closes properly. So far
everything is ok.

My problem is - it seems that my MenuBar somehow interferes with map
sitting beneath it - it doesn't respond to mouse move events (doesn't
highlight mouse over MenuItem) and clicking on it works as it was
click outside PopupPanel - MenuItem command is not executed.

Overriding PopupPanel, MenuBar and adding explicit sinkEvent of
required mouse events doesn't help.

During context menu handling I'm not interested in map. How could I
take over mouse control and direct necessary events to my MenuBar?

Thanks,

Grazvydas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to