|Distinguish between left and right click on table row [message #1404745]
||Tue, 05 August 2014 12:56
| Urs Beeli
Registered: October 2012
Location: Bern, Switzerland
In our application when the user left-clicks on a table row, we want to display the values of the selected row in a different form. We do this by using execRowClick().|
However, when the user right clicks on the table row, we want to show a context menu (this works) *without* the selected row being displayed in the secondary form (this part does not work).
Is there any way to either
- distinguish which mouse button was clicked on a table row in execRowClicked?
- react to a left click on a table row in a way that is not triggered when right clicking on the same row in order to show the context menu?
Just in case it matters: we're using the SWT UI.
[Updated on: Tue, 05 August 2014 12:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01575 seconds