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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
Hitman47
Posts: 33
Registered: ‎05-14-2010
My Carrier: Unbranded

Getting a software to type digits without holding ALT.

Pretty straight up question.

I have a software with an input field.

I want my software to behave like BlackBerry itself. (I.e: For characters which are associated with numbers show the number)

Is there any easy way/method to do this?

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008

Re: Getting a software to type digits without holding ALT.

[ Edited ]

Try using BasicEditField with the FILTER_NUMERIC style.

 

Please use plain text.
Contributor
Hitman47
Posts: 33
Registered: ‎05-14-2010
My Carrier: Unbranded

Re: Getting a software to type digits without holding ALT.

Thanx a lot for the reply.

I made the mistake of making this thread right before searching the forum. Now my brain is all filled up with TextFilters.

I was using TextFilter.get(TextFilter.REAL_NUMERIC).

However my software in certain parts edits the number field to put it in the String Details for the Id.

And thats what I cannot do.

 

I was thinking... anyone knows if I could be able to RESET the TextFilter to Normal, once it is already set? (Right before my software builds the String Details I have no other idea on how to do it otherwise


Thanks

Please use plain text.