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
New Member
Posts: 1
Registered: ‎10-27-2011
My Device: 9800

how to set editfield default input numerical ?.

 
Developer
Posts: 541
Registered: ‎05-17-2009
My Device: Not Specified

Re: how to set editfield default input numerical ?.

Use a flag from BasicEditField like so:

 

EditField intef = new EditField(BasicEditField.FILTER_INTEGER);

EditField ref = new EditField(BasicEditField.FILTER_REAL_NUMERIC);

EditField nef = new EditField(BasicEditField.FILTER_NUMERIC);

 

And so on..

 

Scott