Re: programattically adding Text to RichTextBox

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks so much! I love it when someone hands me a simple solution :-)
-Rachel

"Siva M" wrote
> Hello,
>
> It is the intended behavior when the whole text in the rich text box is
> replaced (RCB.Text = RCB.Text + string1; is actually replacing the whole
> text). Try RichTextBox.AppendText() method to append while retaining the
> formatting.
>
> -Siva
>


.



Relevant Pages