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 Developer
taovu
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

Thanks

 

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
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.
Found a bug? Report it using Issue Tracker
Please use plain text.