03-15-2010, 07:18 AM
Join Date: Mar 2010
Carrier: dnt no
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Diffrent text colour in same string
Please Login to Remove!
Hi I have a string of text which will be constantly changing since It downloads every time you start the app, but that is not the problem I just want you to know the situation.
Know the string holds a series of information in the same format such as name, date, status etc. So how do I change the colour of only one part of the string and use a different colour for other parts. I will oly need three colours.
I don't think that creating three text fields with diffrent colous will help, as the string neds to be rendered in the order it is in.
I thought perhaps finding a key value in the string such as a word which I can do between each part of the series, and then creating a new rich text field whith an asigned colour depending on a value in the string? However I do not know how to do that.
Please help, thanks.