|
-
Mar 31st, 2010, 11:05 PM
#1
Thread Starter
Lively Member
Replace Text?
well i need to make it so it will replace RichTextBox1's selected text with: <ST>, where ST is the initially selected text, Thanks
-
Mar 31st, 2010, 11:14 PM
#2
Re: Replace Text?
The RichTextBox has a SelectedText property. You can get the current value of that property, edit it as required, then assign the new value back to the property.
-
Mar 31st, 2010, 11:15 PM
#3
Thread Starter
Lively Member
Re: Replace Text?
o so RichTextBox1.SelectedText = "<" & RichTextBox1.SelectedText & ">" ?
-
Mar 31st, 2010, 11:47 PM
#4
Re: Replace Text?
 Originally Posted by reconrey
o so RichTextBox1.SelectedText = "<" & RichTextBox1.SelectedText & ">" ?
When you tried it, did that work?
Tags for this Thread
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
|