Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,266 of 10,840    |
|    Stephen Saunders to All    |
|    KeyPress Event Question    |
|    10 Mar 05 20:19:14    |
      From: kd6eut@earthlink.net              I have a text box for entering in a search string on my form. I coded the       following KeyPress event handler:              Private Sub txtFindCall_KeyPress(KeyAscii As Integer)               If KeyAscii = 13 Then        cmdFind_Click        Exit Sub        End If              End Sub              This allows the user to start the search by hitting the Enter key while in       this text box. It works fine but my PC sounds a beep when Enter is pressed.              Can I turn this off? What does it signify?              Thanks,              Stephen Saunders              P.S. Thanks to those who answered my "Repeat Question" post!              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca