|
-
September 23rd, 1999, 09:36 AM
#1
Double Paste
The code that I have written to cut and paste on a richtextbox control works fine when the menu item is selected, but when I use the shortcut key ctrl+v the text is pasted twice. I don't know what is causing this or have any idea how to disable the double paste.
-
September 25th, 1999, 01:24 AM
#2
Re: Double Paste
may be the way in which you have implemented could be causing a recursive call - something like one change invoking another change etc.
If you are handling _Change event of RichTextbox, check in there, something could be triggering another event.
RK
-
September 27th, 1999, 02:35 AM
#3
Re: Double Paste
One paste may be coming from the richtextbox which intrinsically supports the clipboard, and the second paste may be from your menu handler.
Put a break point on the menu handler, and test if ctrl+v is hitting your special paste code.
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
|