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
New Developer
nurikabe
Posts: 44
Registered: ‎08-20-2008
Accepted Solution

TextBox initial input mode

Working on a midlet and having trouble with input.  The BlackBerry default seems to be to start all input with the initial letter uppercase.  For authentication input (username, password), obviously I would rather this be lowercase.  Trying this:

 

        teBox = new TextBox(title, text, max, constraints);
        teBox.setInitialInputMode("MIDP_LOWERCASE_LATIN");

 

 

However it seems to have no effect.  Is there a better BlackBerry-specific way to achieve this?

 

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: TextBox initial input mode

The BlackBerry specific way would be to use a BasicEditField (or derrivitive of) and use a TextFilter with a TextFilter.LOWERCASE style.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.