|
-
May 15th, 2011, 04:04 AM
#1
Thread Starter
New Member
Rich text Box cursor set.
Good Morning All.
Just learning VB and would like Help
I have set up a program with four Rich text Boxes and two command buttons.
Rich text boxes 1and 3 call external RTF files, Command 1 copying the contents of Rich text box 1 to the clip board and pastes in to rich text box 2.
' Selects and copies the text from Rich Text Box 1 to the Clipboard
Clipboard.SetText RichTextBox1.Text
'Paste Clipboard selection to Rich Text Box 2
RichTextBox2.Text = Clipboard.GetText
Then Command 2 does the same for the other text boxes.
However what I would like to do is set the cursor / focus to the end of the copied text (say into RichTextBox2) so that I can the paste another selection of text below what is already there. (After the pasted text in RichTextBox2)
Hope that this makes sense and that someone can help.
Cheers
Scott Pattison
Last edited by ScottPattison; May 15th, 2011 at 04:56 AM.
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
|