Skip to main content

BlackBerryImplementation editString using nativeEdit or EditPopup ?

3 replies [Last post]
longj2me
Offline
Joined: 2010-03-25
Points: 0

hi vprise

i'm using :

EditPopup editScreen = new EditPopup((TextArea) cmp, (constraint & TextArea.PASSWORD) != 0, maxSize);
// blocking call.
editScreen.startEdit();
editScreen = null;

work fine ,but using :

// TextArea txtCmp = (TextArea) cmp;
// if((txtCmp.getConstraint() & TextArea.NON_PREDICTIVE) == 0){
// nativeEdit(txtCmp, txtCmp.getMaxSize(), txtCmp.getConstraint(), txtCmp.getText(), keyCode);
// }

work problem.

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

I don't understand the problem.

longj2me
Offline
Joined: 2010-03-25
Points: 0

Use last svn

The problem is
when I make TextArea.setEdittable(true);
& I edit text .. then field not remove when I go or back to other form!!!
still in the screen!!!
vprise
Offline
Joined: 2003-11-07
Points: 0

I committed a fix for this.