Page 1 of 1

Mouse right-click

PostPosted: Tue Aug 30, 2016 6:19 pm
by joedarock
How to detect it?

Re: Mouse right-click

PostPosted: Wed Aug 31, 2016 1:56 am
by support
You can detect the right-click event in oncontextmenu event.

Re: Mouse right-click

PostPosted: Tue Sep 13, 2016 7:05 pm
by joedarock
My app launches a popup information window when the user right-clicks a branch in treeView. I do this with the oncontextmenu event as recommended. It works properly in the debug mode, but when I build the application and deploy to an actual server, right clicking causes the browser's own right-click menu to pop up and obscure my popup. Is this a bug or should I be doing something to prevent it?

Re: Mouse right-click

PostPosted: Wed Sep 14, 2016 12:29 am
by support
Try to return false in oncontextmenu event.