Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RTF IN VB -6

Status
Not open for further replies.

saksham

Programmer
Sep 28, 2001
4
IN
i have two rtf text boxes........A and B....i want to type in A.....setting the font and color...........and then transfer to B.........and its font and color should also get preserved.........
i.e. B.textrtf=A.textrtf...........it works...........but now i want to append the next line to B from A i.e
B.textrtf=B.textrtf+A.textrtf.................this doesn,t work..........why????...and what is the solution..........?
 
try something like this
Code:
RichTextBox1.SelStart = 64& * 1024 ' move to end of text
RichTextBox1.SelRTF = RichTextBox2.TextRTF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top