KeyEvent in SWT has a doit member variable.
Setting it to false cancels any further handling of the event.
public void keyPressed(KeyEvent e) {
handleKeyPress(e);
e.doit = false;// cancels the event
}
Setting it to false cancels any further handling of the event.
public void keyPressed(KeyEvent e) {
handleKeyPress(e);
e.doit = false;// cancels the event
}
No comments:
Post a Comment