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
Developer
Posts: 178
Registered: ‎11-19-2008
My Device: Not Specified
Accepted Solution

Is it possible a multi-line EditField?

I know EditFields automatically resize when text occupy more than one line, but by default, they have one line height. I need an EditField with n-lines by default (when empty).

By now I have used an overridden VerticalFieldManager with a minimum height, where I put the EditField (constructed with USE_ALL_HEIGHT style bit), with no success. The manager gets it minimum size, but the field keeps having one line only.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Is it possible a multi-line EditField?

Will this help you.

 

http://na.blackberry.com/eng/devjournals/resources/journals/jul_2005/creating_textbox_field.jsp

 


Use Search. "Accept Solution" If the problem is resolved.