Results 1 to 5 of 5

Thread: Double Paste

  1. #1

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158

    Question 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 !!!

  2. #2
    Addicted Member Nice's Avatar
    Join Date
    Oct 2000
    Location
    Germany
    Posts
    144
    i dont think thuis would happen i u use the clipboard object's gettext and settext property..

  3. #3

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158
    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.

  4. #4
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421
    Lets say the name for the paste menu is "mnuPaste"...

    Private Sub mnuPaste_Click()
    '
    End Sub

    Let the TextBox take care of it
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  5. #5

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width