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?
Printable View
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?
any1?
Try adding this line:
Code:Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = vbKeyReturn Then KeyAscii = 0
End Sub
Thanx Matthew!