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

New Developer
Posts: 6
Registered: ‎09-05-2008
My Device: Not Specified

Chang typing mode on editfield

Needs help!! Can anyone show me how to change the typing mode (Overwrite/Append).

The default mode of editField is pedding, how to change typing mode to overtype



BlackBerry Development Advisor
Posts: 15,874
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Chang typing mode on editfield

There is no API that provides this functionality.  But you can accomplish this by overriding the keyChar method of EditField, capturing the text the user has entered and updated the field with the characters you want by calling setText.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.