   RichTextBox in .Net 2.0
  Yes.. it's .Net 2.0 but it should not be any different then 1.1 right?Anyways I'm making a "console" style program. However, I want to be able to have different color for text from the "program" and input from the "user". There is also an artificial "remote" source that will require a totally different color.I tried to mess around with the SelectionColor property. Here is a method I created specifically to write text to the RichTextBox:   private void OffDisplayWrite(string message, MsgType myType)   {  rtbOffDisplay.Text += message;  rtbOffDisplay.SelectionStart = rtbOffDisplay.Text.Length - message.Length;  rtbOffDisplay.SelectionLength = message.Length;  rtbOffDisplay.SelectionColor = msgColor[(int)myType];  rtbOffDisplay.SelectionLength = 0;  rtbOffDisplay.SelectionStart = rtbOffDisplay.Text.Length;   }First line I write is in the System color (red). The 2nd line I write is in the user input color (white). The program works fine up to and including this point. Then the third line I write is still in the user color (white). The new line is written (in white) however all previous text switches to the system color (red) including the 2nd user line.Thanks for your time and help,Fenix RoA   
  Anyone?   ;  Ok fine... new problem,I've decided to handle the RichTextFormat property (Rtf) myself. I'm writing my own Colortable and replacing the one that is created by default. However whenever I do this, the Rtf object seems to replace my Colortable with a default one. I do not know why... Anyone know how to turn off automatic Rtf handling... if that's at all possible... or a better alternative to having multicolor lines in my textboxes?   ;  Eureka... I figured it out..This is the first time GameDev has let me down, although considering that this is a .Net question and little related to Game Development and the fact I only allowed a few hours for replies... I'll refrain from flaming.. Not too mention I'm pretty happy.For those of you who are having the same problem, instead of using (richTextBox1.Text += addedmsg) use (richTextBox1.AppendText(addedmsg)).Cheers,Fenix RoA   