To prevent "Go Privious Page" on press "Backspace" button, I am trying this code:
Page.registerKey("Backspace", new PageKeyHandler() {
public void execute(String keyName) {
// trying to prevent "Backspace" as "GoBack" action
cancel();
}
});
It works fine for editable forms and formsItems. But for TextItem.setCanEdit(false) "Backspace" is still "Go Back". Is it a bug?
SmartClient Version: v10.0p_2015-11-06/LGPL Development Only (built 2015-11-06)
IE11
Page.registerKey("Backspace", new PageKeyHandler() {
public void execute(String keyName) {
// trying to prevent "Backspace" as "GoBack" action
cancel();
}
});
It works fine for editable forms and formsItems. But for TextItem.setCanEdit(false) "Backspace" is still "Go Back". Is it a bug?
SmartClient Version: v10.0p_2015-11-06/LGPL Development Only (built 2015-11-06)
IE11
Comment