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. Automatically Shifting Control From TextBox to Button

Automatically Shifting Control From TextBox to Button

Scheduled Pinned Locked Moved C#
databasehelp
3 Posts 2 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.
  • R Offline
    R Offline
    Rizwan Rathore
    wrote on last edited by
    #1

    I am making a search engine and i want the control to shift from the query box to search button automatically i.e if user presses enter after writing the query the search button automatically get pressed.. currently user has to use mouse to press the search button... Looking farward to your help Regards,

    _ 1 Reply Last reply
    0
    • R Rizwan Rathore

      I am making a search engine and i want the control to shift from the query box to search button automatically i.e if user presses enter after writing the query the search button automatically get pressed.. currently user has to use mouse to press the search button... Looking farward to your help Regards,

      _ Offline
      _ Offline
      _Bao_
      wrote on last edited by
      #2

      see the AcceptButton property of your form...

      R 1 Reply Last reply
      0
      • _ _Bao_

        see the AcceptButton property of your form...

        R Offline
        R Offline
        Rizwan Rathore
        wrote on last edited by
        #3

        thxxx sir its working

        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