Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Can't use CTRL-V

Can't use CTRL-V

Scheduled Pinned Locked Moved Visual Basic
question
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SignMan359
    wrote on last edited by
    #1

    I have a situation where I have standard form class that I created. It inherits from System.Windows.Forms.Form as a public class. The only thing added to this class is a series of variables for passing data to these forms. There are no functions or overrides in the class. I then create a FRIEND form that inherits this class. I put a textbox on the form and I can't use CTRL-V. In fact, I trapped the keydown events and if I do 'V', I get a keycode, if I do CTRL-SHIFT-V, I get a keycode, but if I just do CTRL-V, I don't even get a keycode (it never throws the keydown event at all.) And it won't paste anything into the control. If I change the form to inherit the System.Windows.Forms.Form directly, it traps fine and pastes the text from the clipboard into the control. Any ideas as to what would cause this to happen? --In a world without fences, who needs Gates?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups