|
-
May 7th, 2001, 03:50 AM
#1
Thread Starter
Addicted Member
Disable beep after enter key
On an input screen i catch the Enter key in the keydown event and set the focus to the next textbox. Most users prefer this to using the tab key. It works, but every time you press enter there is a beep. Can it be disabled?
"Computers are incredibly fast, accurate and stupid. Human beings are incredibly slow, inaccurate and brilliant. Together they are powerful beyond imagination." - Albert Einstein
-
May 7th, 2001, 06:05 AM
#2
Thread Starter
Addicted Member
"Computers are incredibly fast, accurate and stupid. Human beings are incredibly slow, inaccurate and brilliant. Together they are powerful beyond imagination." - Albert Einstein
-
May 7th, 2001, 06:17 AM
#3
Try adding this line:
Code:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = vbKeyReturn Then KeyAscii = 0
End Sub
-
May 7th, 2001, 07:32 AM
#4
Thread Starter
Addicted Member
"Computers are incredibly fast, accurate and stupid. Human beings are incredibly slow, inaccurate and brilliant. Together they are powerful beyond imagination." - Albert Einstein
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|