-
Double Paste
I've created a form with a menu, and a rich text box. Under the Edit menu I have the usual paste command with the shortcut Ctrl+V but the rich text box also has it's own paste command with the same shortcut key, so when I paste somthing from clipboard it's pasted twice.
How can I stop his from happening can I stop the rich text box's paste command?
:) !!! THANKS IN ADVANCE !!! :)
-
i dont think thuis would happen i u use the clipboard object's gettext and settext property..
-
Sorry Nice I didn't understand what you said. If your asking if I'm using the get and set property of the clipboard then the answer is yes.
-
Lets say the name for the paste menu is "mnuPaste"...
Private Sub mnuPaste_Click()
'
End Sub
Let the TextBox take care of it :rolleyes:
-
Oafo nice try but what happens when the user selects paste from the menu it self as there is no code to paste the text from the clipboard nothing is going to happen, user is going to wonder why.
Isn't there a way to stop the Rich Text box's paste or call it from the menu I implement? Any ideas any one?