Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textbox makes sound after TAB

Status
Not open for further replies.

dr486

Programmer
Jan 9, 2002
105
AU
Does anyone know how to stop the sound thats made after tabbing from a textbox???

dr
 
My guess is that you have something like:

If KeyAscii = 13 Then
SendKeys "{TAB}"
End If

in the Keypress Event and when you hit enter to tab you then here the beep. If so change to:

If KeyAscii = 13 Then
SendKeys "{TAB}"
KeyAscii = 0
End If

If not then you need to explain that sound a little clearer.

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Thanks for the response Doc.

I have removed all tabstops so i can capture the TAB key from the form...By doing this the field would Bep cause the TAB wasnt doin its normal thing.

I overcame the problem by setting the textboxes to multiline.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top