sukhoi971
SSCarpal Tunnel
Points: 4833
More actions
June 14, 2004 at 6:09 am
#360144
how do i trap keys in webpages
like my client wants the moment he presses enter key, focus should go to next control,textbox,etc,etc
<a href="http://www.websolsoftware.com"> For IT jobs click here</a>
*Sukhoi*[font="Arial Narrow"][/font]
tibby
SSC Veteran
Points: 207
June 14, 2004 at 7:21 am
#510252
As far as I know, you would have to use an ActiveX control.
Jonathan Stokes
SSCrazy Eights
Points: 9861
June 14, 2004 at 8:25 am
#510296
better off doing it through the front end. I.e. the web pages itself.
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = vbKeyReturn Then
KeyAscii = 0
SendKeys "{TAB}"
End If
End Sub
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply