|
-
Feb 12th, 2004, 10:09 PM
#1
Thread Starter
Member
Rich TextBox
i want to do something like this
Private Sub Command1_Click()
RichTextBox1.TextRTF = RichTextBox1.TextRTF & vbcrlf & RichTextBox2.TextRTF
End Sub
but it doesnt work, any idea?
-
Feb 12th, 2004, 10:24 PM
#2
What doesn't work about it? What does it do?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Feb 12th, 2004, 10:28 PM
#3
Thread Starter
Member
it just dont do nothing, i thing its a problem with the syntaxis
-
Feb 12th, 2004, 10:53 PM
#4
Try this...
VB Code:
Private Sub Command1_Click()
With RichTextBox1
.SelStart = Len(.Text)
.SelText = vbCrLf
.SelStart = Len(.Text)
.SelRTF = RichTextBox2.TextRTF
End With
End Sub
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|