BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-01-2010, 05:11 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: 9700
PIN: N/A
Carrier: Engineer
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Line Wrapping

Please Login to Remove!

Hi, I have created a ListField Having multi rows, when i draw the text of more character, it is not displaying all. it only displays the character that fit on the screen, i want it to display the remaining character on new line.
my code is like this.

g.drawText("Sponsorships could invigorate sdf ujhsd dfdfdsf dsgfdg liufasdh",0,y,DrawStyle.ELLIPSIS,w);

(it doesn't work)

can any body know better solution for line wrapping ? plz help me.

Thanks
Regards
Zulfiqar
Offline  
Old 04-01-2010, 05:55 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think this post will help you
drawText wrap text into multiple lines
__________________
blog.vimviv.com
Offline  
Old 04-05-2010, 07:23 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: 9700
PIN: N/A
Carrier: Engineer
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Line Wrapping

Thanks dear now it works.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.