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. C#
  4. Getting rid of the enter beep

Getting rid of the enter beep

Scheduled Pinned Locked Moved C#
question
5 Posts 3 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
    S O S
    wrote on last edited by
    #1

    How can I get rid of the beep that happens when I press enter on a form with no default button?

    J 1 Reply Last reply
    0
    • S S O S

      How can I get rid of the beep that happens when I press enter on a form with no default button?

      J Offline
      J Offline
      Julian Bucknall MSFT
      wrote on last edited by
      #2

      Add a default button? It seems to me that every form should have a default button, no? Cheers, Julian Program Manager, C# This posting is provided "AS IS" with no warranties, and confers no rights.

      A 1 Reply Last reply
      0
      • J Julian Bucknall MSFT

        Add a default button? It seems to me that every form should have a default button, no? Cheers, Julian Program Manager, C# This posting is provided "AS IS" with no warranties, and confers no rights.

        A Offline
        A Offline
        Alex Korchemniy
        wrote on last edited by
        #3

        Unless the application is a simple, one form, dialog application. Have you tried catching the key down event?

        S 1 Reply Last reply
        0
        • A Alex Korchemniy

          Unless the application is a simple, one form, dialog application. Have you tried catching the key down event?

          S Offline
          S Offline
          S O S
          wrote on last edited by
          #4

          I tried, but it didn't seem to work. But I fixed it with a default button that's positioned outside the form :)

          J 1 Reply Last reply
          0
          • S S O S

            I tried, but it didn't seem to work. But I fixed it with a default button that's positioned outside the form :)

            J Offline
            J Offline
            Julian Bucknall MSFT
            wrote on last edited by
            #5

            Ouch. That seems like a bit of a hack. What did you try in terms of capturing the Enter key? Cheers, Julian Program Manager, C# This posting is provided "AS IS" with no warranties, and confers no rights.

            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