In VB6,
i like to detect TAB Key but unable to do so..
i tried 2 method already..
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 9 Then
MsgBox "HiHi"
End If
End Sub
or
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyTab Then
MsgBox "Hihi"
End If
End Sub
can anyone help me in this??
Regards Ahhuang
i like to detect TAB Key but unable to do so..
i tried 2 method already..
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 9 Then
MsgBox "HiHi"
End If
End Sub
or
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyTab Then
MsgBox "Hihi"
End If
End Sub
can anyone help me in this??
Regards Ahhuang