Hello,
I have a very simple question, how to concatenate strings values and have them displayed in different colors in a label.
Example:
Concatenate("Test1","Test2")
How do I get Test1 to display Red and Test 2 to display Blue both in the same label?
Thanks!
Solved! Go to Solution.
You cannot do this in a Label. A label only is one color.
You could use an HTML text control however. In which case your HtmlText property would be this:
"<font color=red>Test1</font><font color=blue>Test2</font>"
This will give you what you are looking for.
I hope this is helpful for you.
You cannot do this in a Label. A label only is one color.
You could use an HTML text control however. In which case your HtmlText property would be this:
"<font color=red>Test1</font><font color=blue>Test2</font>"
This will give you what you are looking for.
I hope this is helpful for you.
Thanks!