BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 12-12-2009, 01:57 AM   #1 (permalink)
bcq
New Member
 
Join Date: Nov 2009
Model: 9530
PIN: N/A
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
Offline  
Old 12-18-2009, 04:37 AM   #2 (permalink)
New Member
 
Join Date: Apr 2009
Model: 8800
PIN: N/A
Carrier: Software developer
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 04:39 AM.
Offline  
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

Vintage SIGNODE Crimping W14 Tool 17.5" long pat#1784123 dec9 1930 /N12167
$64.99
Vintage SIGNODE Crimping W14 Tool  17.5Vintage Digital DEC M3106 Line SYNC MUX Board
$29.99
Vintage Digital DEC M3106 Line SYNC MUX Board pictureVintage Sheet Metal Worker’s Monthly magazine Dec.1940
$2.99
Vintage Sheet Metal Worker’s  Monthly magazine Dec.1940  pictureVintage Rare DEC 1073D / 1996 JD3487 H 9833
$49.99
Vintage Rare DEC 1073D  / 1996 JD3487 H 9833    pictureAshcroft Paper Tester, Pat. Dec. 31,1912, Vintage, Antique
$49.0
Ashcroft Paper Tester, Pat. Dec. 31,1912, Vintage, Antique picture






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