07-11-2008, 05:06 AM
|
#2 (permalink)
|
| CrackBerry Addict
Join Date: Jun 2005 Location: Manchester, UK Model: BOLD Carrier: t-mobile
Posts: 714
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Overide keyChar and add some logic to change focus to next field, the getFieldWithFocusIndex() ,getFieldCount(), setFieldWithFocus(somefield) and getField(someInt) methods of MainScreen would be a good place to start. or to do it less dynamically just use mycheckboxField.setFocus();
public boolean keyChar(char key, int status, int time) {
boolean retval = false;
switch (key) {
case Characters.ENTER:
//move to next field
//or
//mycheckboxField.setFocus();
break;
default:
retval = super.keyChar(key, status, time);
}
return retval;
}
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
|
| Offline
| |