BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 12-12-2009, 02:57 AM   #1 (permalink)
New Member
Join Date: Nov 2009
Model: 9530
Carrier: Dev
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with array

Please Login to Remove!

hi guys,

i have an array[] = {"abc<bold/>","def<italic/>"}

how can i display it on screen as following:

abc def
Old 12-18-2009, 05:37 AM   #2 (permalink)
New Member
Join Date: Apr 2009
Model: 8800
Carrier: Software developer
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts

One suggetion is that you can add seperate LabelFields for each item with its style in the array and then add those to a HorizontalFieldManager. Here somehow you have to identify tags like "<bold/>" , "<italic/>". As I know you can't apply more that one font style to a LabelField at a time.

Last edited by kelumkps : 12-18-2009 at 05:39 AM.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.