Multicolor Text in Textbox OR Listbox
-
Hello, I'm trying to figure out how to display lines of text with more than one color. Seems like anytime I want to change text color for a word in a string, I can't, because all the text changes to that color. If you need an example, consider something like AOL Instant Messenger. The person sending the message has their name in one color, and the receiver has a differently colored name. Can the standard Textbox control pull this off? Short of that, is there some kind of custom control that can do this operation? Thanks, Michael Fritzius
-
Hello, I'm trying to figure out how to display lines of text with more than one color. Seems like anytime I want to change text color for a word in a string, I can't, because all the text changes to that color. If you need an example, consider something like AOL Instant Messenger. The person sending the message has their name in one color, and the receiver has a differently colored name. Can the standard Textbox control pull this off? Short of that, is there some kind of custom control that can do this operation? Thanks, Michael Fritzius
-
I love one-liners. This was exactly what I was looking for. Now to dissect it and toss the rest Thanka you, Michael Fritzius