append RTF text
-
Is there any way to append RTF text from one RichTextBox control to another RichTextBox control. Sonork ID 100:25668
-
Is there any way to append RTF text from one RichTextBox control to another RichTextBox control. Sonork ID 100:25668
I've not had a need to work with the C# RichTextBox, but with the ActiveX one, you could do
//assuming that you've selected all the text in both boxes
rtf1.SelRTF=rtf1.SelRTF + rtf2.SelRTF;"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi -
I've not had a need to work with the C# RichTextBox, but with the ActiveX one, you could do
//assuming that you've selected all the text in both boxes
rtf1.SelRTF=rtf1.SelRTF + rtf2.SelRTF;"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma GandhiI tried following already but do no seem to work. :confused: rtbMessage.SelectAll(); rtbDisplay.SelectAll(); rtbDisplay.SelectedRtf = rtbDisplay.SelectedRtf + rtbMessage.SelectedRtf; Sonork ID 100:25668