Color in TextBoxes
C#
2
Posts
2
Posters
3
Views
1
Watching
-
Hi I am building a chat application and it is hard to differentiate between the user's names so I want the user's names to be different colors (Kinda like AOL IM). Please tell me how to accomplish this. Thank You
This can be done thru RTF (Rich Text Format) codes via the richTextBox.rtf variable. You will need to be careful when you do this because if you break the format rules it can break the display up. If you search on MSDN you should find a list of all the codes.