[edit]forgot to say, i had the same problem, adding a keychar override to the class solved it:
public boolean keyChar(char key, int status, int time) {
boolean retval = false;
switch (key) {
case Characters.ESCAPE:
int response = Dialog.ask(Dialog.D_YES_NO, "Are you sure you want to cancel this new vehicle entry?");
if (Dialog.YES == response){
UiApplication.getUiApplication().popScreen(UiAppli cation.getUiApplication().getActiveScreen());
}else{
return true;
}
retval = true;
break;
default:
retval = super.keyChar(key, status, time);
}
return retval;
}
Last edited by jfisher; 08-23-2006 at 10:58 AM..
|