|
-
Nov 27th, 2000, 04:02 PM
#1
Thread Starter
Member
I am using the following code on a text box. All I am doing is using the enter key as a tab to take me to the next text box or a command button. (Of course I have some error checking built in). My question is however, if I use the "TAB" key it will tab to the tabstop. No questions asked.
If I use the "ENTER" key, it will tab to the next tabstop like it should BUT I get this annoying ding. Like the error ding in Windows. I have cut the volume down on my laptop, ran the program on a different PC and everytime the same annoying ding!!!
Can someone please help before I go postal on this PC!!!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Private Sub txtPurgeTrans_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
do something ....
EndIF
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
|