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

Regular Contributor
Posts: 67
Registered: ‎08-16-2011
My Device: 7185
My Carrier: Reliance
Accepted Solution

RitchTExtField Help ??



In My Application i am displaying large amount of data (Text is Dynamic)



Name  :- Ganesh

Surname :- Pachpind

Ph.No :-820389443



i want to use ritch text fiedl to bold and color tital like Name

as this data is large i dont want to calculate offset code for each text field can anybody tell me way to diaplay this data


please suggest any simple way ??



Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: RitchTExtField Help ??

If the data is well structured and you know how to interpret it then you can write your own field.  Alternatively instead of having one RichTextField, you could have multipe simpler Fields, say one line, with only two different parts.


But at the end of the day, this is really just icing.  If you have a this data in a single peice of text, then you are going to have to find out where to split it anyway. 


I suspect this is not really a BlackBerry question. more a Java question.  There are no shortcuts to help in BlackBerry.