colors in textbox

Mar 2 2005 8:22 AM
Hi! I am developing a simple conversation application for Pocket PC devices using Compact Framework. All the incomming text is put in a textbox as follows: User1>> Hi! How are you doing? User2>> Hello, Im fine. U? User1>> Great... For every new post in the chat I just add the text to the textbox: Textbox1.text += chatText What I am trying to do is to separate the lines depending on who sends them. For example, user1 could have a green text color and user2 a green color. Or one have bold and the other italic. But I dont really know if that is possible, when I try to do it the whole text in the textbox changes, not just that line. Anyone got an idea? Since I am developing a smart device application I cant use html-tags like in labels and textboxes. /Andreas Viklund SWEDEN