|
Re: ctrl-click on a table column [message #445339 is a reply to message #445335] |
Wed, 03 November 2004 05:28 |
Konstantin Scheglov Messages: 555 Registered: July 2009 |
Senior Member |
|
|
Mia Stern <mia_stern@us.ibm.com> wrote:
> I'm trying to detect a ctrl-click on a table column. I have extended
> SelectionAdapter, and called
> TableColumn.addSelectionListener(SelectionAdapter). In my
> widgetSelected method, regardless of what keyboard key is clicked, the
> column state of the selection event is always 0. I was assuming it
> would be different depending on the key pressed.
> Is there something else I have to implement? Is this even doable on a
> TableColumn?
I also have same problem.
Solved by adding global even filter for Display ( addFilter() ) and tracking
Ctrl state myself.
--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Konstantin Scheglov,
Google, Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.23933 seconds