|
-
Jan 5th, 2000, 04:15 AM
#1
Thread Starter
Hyperactive Member
is there a way to suppress the system tone that you get when someone hits enter in a text box? The user enters info in this text box. when they hit enter I run some code. This all works but the users are asking me why their computer is making a tone
thank you for your time and have a good day
------------------
I am so skeptacle, I can hardly believe it!
-
Jan 5th, 2000, 04:26 AM
#2
Member
Insert KeyAscii = 0 when Enter Key is detected.
If KeyAscii = 13 Then
KeyAscii = 0
SendKeys "{TAB}"
End If
Joon
-
Jan 5th, 2000, 04:33 AM
#3
Thread Starter
Hyperactive Member
thank you very much. Why the send
SendKeys "{TAB}"?
it works without it
-
Jan 5th, 2000, 05:24 AM
#4
Member
Sorry, that was just my code for moving focus to next control. 
Should be this
If KeyAscii = 13 Then
KeyAscii = 0
' Run ur Code here
End If
Joon
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
|