|
-
May 30th, 2007, 07:47 PM
#1
Thread Starter
Banned
[2005] copy and paste
how do you copy text from a rich text box w/ a button
and how do you paste text into another rich text box w/ a button
-
May 30th, 2007, 07:57 PM
#2
Re: [2005] copy and paste
how do you copy text from a rich text box w/ a button
Call its Copy method.
how do you paste text into another rich text box w/ a button
Call its Paste method.
-
May 30th, 2007, 08:07 PM
#3
Thread Starter
Banned
Re: [2005] copy and paste
how do i go about doing that?
-
May 30th, 2007, 08:09 PM
#4
Re: [2005] copy and paste
The help topic for all three methods provides a code example, which is why you should always read the documentation.
-
May 30th, 2007, 08:11 PM
#5
Thread Starter
Banned
Re: [2005] copy and paste
?
if the code is simple can you please type it if not can you provide a link?
-
May 30th, 2007, 08:23 PM
#6
Re: [2005] copy and paste
There is no need for me to repeat code that is already provided in the help. This is a good chance for you to learn how to use the MSDN library if you don't already. Given that it's just a Web site though, you don't need to be an experienced developer to use it. You should also have installed the MSDN library locally if you installed VS yourself.
Open your local MSDN library if you have it, otherwise go to the MSDN Web site. Search for richtextbox and follow the link to the topic for the System.Windows.forms.RichTextBox class. Follow the link to the topic for its member listing, then follow the link to the topic for the Cut, Copy or Paste method.
It's just a search and a few links, just like anything on the Web. Now you have your code example and you know how to look for information on MSDN in future. That doesn't guarantee you'll find what you're looking for but the more you do it the better you'll get and the more successful you'll be. That's more help to you as a developer in the long run.
-
May 30th, 2007, 08:47 PM
#7
Thread Starter
Banned
[Resolved] [2005] copy and paste
lol reminds me of my parents but found it thanks
-
May 30th, 2007, 08:51 PM
#8
Re: [Resolved] [2005] copy and paste
 Originally Posted by fred666777
lol reminds me of my parents but found it thanks
I subscribe very passionately to the "teach a man to fish" ethos.
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
|