View Full Version : How to determine which mouse button on rowmousedown event of GridPanel?

10 Jul 2010, 6:04 PM
The title says it all. I can't seem to determine by the EventObject which mouse button is pressed. Surely there has to be a way...

10 Jul 2010, 7:06 PM
I'm not too sure you can. Are you just wanting to capture the right mouse button? If so instead of rowmousedown, you can use rowcontextmenu

11 Jul 2010, 7:25 AM
Yes, I know about the rowcontextmenu, but I can't use that because that is actually a click, not a "down". I need to capture the right mouse button down event. I would image there is a way to do this since somehow the rowcontextmenu knows its a right mouse button.