(Codenameone) Blackberry TextField Missing Border When Focusing

393 views Asked by At

I want to ask why the border of TextField in Blackberry (CodenameOne) always missing when focusing? I am using Native Themes and I have try with theme builder to change the attribute (TextField Background, border etc..) but still missing, does anyone know how to make border on the TextField still appear when you type something in the TextField? Thanks for your help PS: This does not happen on LWUIT Thorsten Blackberry 1.4

2

There are 2 answers

5
Shai Almog On

If I recall correctly Thorsten's port doesn't use in place editing for input.

During input the native text field border is used, there is very limited control on the native input.

1
MiguelHincapieC On

I have used LWUIT for some years in BlackBerry and yesterday I was facing the same problem. What I did: Make my own version 1.5 using the things related to TextField and focus from 1.4 (BlackBerryTouchImplementation.java and BlackBerryTouchSupport.java and some little changes).

I did it because I found 2 problems more: 1.The textField were ignoring addDataChangeListener. 2.With constraints PASSWORD | NUMERIC in a TextField, the cursor doesnt move from the first place, I mean, you can enter 8 digit (qwer1234 because it's ignoring the constraints, input mode, input mode order) and the cursor is in the left side of "q".

I know that Shai Almog probably dont like it but let me tell you that I have made test on these BlackBerry devices: 9330, 9550, 9700 and all is ok.

I have been developing a big one app for around 4 months for Spanish language and the quality team have not found big problems.