Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Disable automatic search in Tables
Disable automatic search in Tables [message #462553] Thu, 13 October 2005 15:08 Go to next message
Eclipse UserFriend
Originally posted by: usenetspamq305.desglaubst.net

Hi,

the search function (pressing keys on an active table) is
quite nice, but I do want the key strokes processed by
my application. Is there any way to prevent a table
from getting the key strokes?

Thanks,
Bernd
Re: Disable automatic search in Tables [message #462703 is a reply to message #462553] Mon, 17 October 2005 14:13 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi Bernd,

Assuming that I understand the question correctly, you can do the following:

table.addKeyListener(new KeyListener() {
public void keyReleased(KeyEvent e) {
}
public void keyPressed(KeyEvent e) {
System.out.println("down");
e.doit = false; // cancels selection change
}
});

Grant

"Bernd J
Previous Topic:[Browser] How to grab key events?
Next Topic:Isnt this supported
Goto Forum:
  


Current Time: Wed Sep 23 04:23:17 GMT 2020

Powered by FUDForum. Page generated in 0.01484 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top