I want to append the contents of two rich text boxes in a Windows Forms .Net application; say: stringText = richtextbox1.Rtf + richtextbox2.Rtf; The strin
well since I can't comment Pawel anwser, I must add that besides his code:
RichTextBoxSource.Select(0,RichTextBoxSource.TextLength);
RichTextBoxTarget.SelectedRtf = richTextBoxSource.SelectedRtf;
you should add if you want the new text to be always on the top
RichTextBoxTarget.Select(0,0);
or if you want it to be always on the bottom
RichTextBoxTarget.Select(RichTextBoxTarget.TextLength,0);
So you also have control of the position like in Daniel answer, even if the target richtextbox is clickable.