how to make functions activate in my programs whe I hit the enter key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joel Rodriguez
    New Member
    • Dec 2010
    • 2

    #1

    how to make functions activate in my programs whe I hit the enter key

    for example when I write something in a search bar and I press enter
  • Rodney Roe
    New Member
    • Oct 2010
    • 61

    #2
    You don't have much information here to go on, but if you're are using a user form you can create a button and make it the default in the properties. Write all your code in the button_click event and whenever you press enter that button will be executed.

    Comment

    • Joel Rodriguez
      New Member
      • Dec 2010
      • 2

      #3
      thanx you Im just starting to make my own programs on visual basic expres so I didnt knew how to put that into words correctly but I think I understand what you are saying, thanx bro

      Comment

      Working...