Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
stefano
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

backspace key problem

I 've add a few EditField so:

 

_eNickName  = new  EditField("Nickname : ", "", 20, Field.EDITABLE);

 

I've add also a KeyListener to trap a few key. All work good but only backspace key doesn't work. I tried also to remove the  KeyListener, but the problem there is again.

 

any idea ?

thanks

Please use plain text.
Administrator
MSohm
Posts: 14,309
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: backspace key problem

When you say it doesn't work do you mean that your KeyListener is not receiving the backspace key or that the backspace key no longer has its default behaviour?

 

If it is the latter, are you making a call to super.keyChar after your custom processing?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.