|
-
Oct 18th, 2002, 11:24 AM
#1
Thread Starter
Addicted Member
Inserting Text Into RTB
Hello, again. I know someone out there must know how to insert text into wherever the user has that little blinking thing. Lemme know how - I need this for an app I'm building to help you all. You'll find out how it helps you once I'm done with it. 
Furry
 Eat long and prosper! 
If someone helps you, find someone you can help.
If you still have time, click on the darn banner up there and help the forum! 
-
Oct 18th, 2002, 11:35 AM
#2
You can use the AppendText to add on text or you can use rtbTest.SelectedText="something"
-
Oct 18th, 2002, 11:38 AM
#3
Fanatic Member
What do you mean, like a Paste function?
-
Oct 18th, 2002, 12:56 PM
#4
Thread Starter
Addicted Member
Originally posted by Edneeis
You can use the AppendText to add on text or you can use rtbTest.SelectedText="something"
AppendText is KIND of what I'm looking for. The only problem is that it adds text to the END of a string, not somewhere in the middle, I think. I need to put text somewhere in the middle, like, say, where the little blinking thing is. Would the .SelectedText = "something" do that?
Originally posted by Slow_Learner
What do you mean, like a Paste function?
Yeah. A paste function would work nicely, except it would delete whatever the user has in his/her clipboard. If you could do something like in Microsoft Word, however, (have more than one clipboard) that'd fix the problem.
Furry
 Eat long and prosper! 
If someone helps you, find someone you can help.
If you still have time, click on the darn banner up there and help the forum! 
-
Oct 18th, 2002, 12:59 PM
#5
Thread Starter
Addicted Member
Ahh! Yes! RichTextBox1.SelectedText = "something" worked nicely. Thankyou both for your help.
Furry
 Eat long and prosper! 
If someone helps you, find someone you can help.
If you still have time, click on the darn banner up there and help the forum! 
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
|