[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Default button and enter key cell activation
|
Hi,
Have you tried to cancle the KeyEvent in your strategy or is the
strategy not even reached?
Tom
Andi Thomas schrieb:
Andi Thomas wrote:
I have a table with a column viewer activation strategy with a CR key
pressed configuration, but in the same shell I have a default button.
Navigating to a cell and pressing the enter key gets picked up by the
default button not the cell activation strategy.
You might think that this is the correct behavior, but its not
unprecedented for a control to intercept the enter key press before
the default button kicks in. A Text control with the SWT.MULTI style
but for example.
We have shells with and without default buttons and I would like the
table behavior to be consistent in all windows.
Thanks (Tom!)
- Andi
Added an attachment that shows the problem. You can comment and
uncomment line 37 to hide/show the problem.
--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl JFace-Committer
--------------------------------------------------------------------