[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Default button and enter key cell activation

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