hola

i have a widget with a contextmenu. inside it is a textarea. problem is
that if i rightclick on the textarea (to use the browsers spell checking
for example) then the context menu pops up instead! how can i prevent this?
I tried to give the textarea something like:

    def onContextMenu(self, sender):
        event = DOM.eventGetCurrentEvent()
        DOM.eventStopPropagation(event)

but it doesnt work. in fact it doesnt even get called even though i
have self.setContextMenu(self) in the textareas __init__()

ideas?

thanks
G

-- 
■ ■ ■ ■ ■ ■ ■ ■ ■ ■

Reply via email to