Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
09-27-2009 12:18 AM
Because many text is too long to show all text. so i hope i can draw the mutli line text. or how to make the text in the listfield scrollable.
graphics.drawText(storenameture, 0, y, DrawStyle.TOP, width);
graphics.drawText(mallnameture, 0, y,DrawStyle.BOTTOM,width);
i use the DrawStyle.top and bottom . but can not show the mutli line.
09-27-2009 03:15 AM
Just change the value of "y" when you draw your second string.
It will sove your problem.
09-28-2009 03:33 AM
09-28-2009 03:34 AM
12-17-2009 12:20 AM
i m strucked with listfield i m trying to add multiple line in listfield and also want to break the line eactly how to perform the lablefield align the line properly
12-17-2009 12:33 AM
Where exactly you ahve stuck? Have you able to display the ListField on screen? Have you tried with setting the rowheight and displaying the listField?
05-28-2012 04:25 AM
Simon's code is pretty specific so I'm not sure what you don't understand. Remember that this Thread is talking about the ListField, which is a specific Field used In BlackBerry UI. If you are not using a ListField, then this code will not be applicable.
Most usual Blackberry Fields (e.g. RichTextField) will create multiple lines by themselves.
05-28-2012 06:05 AM
If you don't already know ListField, then this is not a great Thread to start the learning process. Search for easier examples.
If you know how to use ListField, I think Simon's code makes sense as it is - these are just lines you will code in your drawListRow. What specifically do you not understand?