Traversal into TableCombo does not work [message #513017] |
Mon, 08 February 2010 15:29 |
kent gibson Messages: 114 Registered: July 2009 |
Senior Member |
|
|
The TableCombo seems to have problems with traversals.
You can even see this in the TableCombo snippet. Try traversing with tab from one TableCombo to the next, it just does not work.
I have fought the whole day with the source trying to get it to work, but somehow a focus out event always comes at the very end and nullifies any effect the traversal had.
Has anyone had any luck doing this?
Should I file a bug/feature request?
I have an very ugly hack which works if you press tab twice. At the end of the TableCombo constructor I added this:
addListener(SWT.Traverse, new Listener() {
public void handleEvent(Event e) {
text.setFocus();
}
});
but like I said you have to press tab twice. The first one goes off into nirvana.
[Updated on: Mon, 08 February 2010 15:36] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05798 seconds