Skip to content

RichText: Keep new datas at the same place...

Israel

Asked May 13, 2015, 12:49 AM EDT1 answer
Share
LinkedInX
Hi!
 
I have two textboxes (textBox1, textBox2 and richTextBox) where I insert datas. These datas goes directly in richTextBox. But there is a problem:
when I replace others datas in the same textboxes... when I click on the button I want to see the last datas inserted in the richText dont be replaced.
Means the others new datas inserted on textboxes should be added in the same richTextBox after click.
My codes:
 
richTextBox1.Text = Environment.NewLine + textBox1.Text;
richTextBox1.Text += "\r" + Environment.NewLine + textBox2.Text;
 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Please Sirs, no one cant help?
    0