How can I disable the 'enter' button in a textbox?
I am not sure on what function to use...
I tried Keypress/Keydown...Code:Private Sub Text1_Change()
If ??????? = vbReturn Then
??????????????????????????
End If
End Sub
Printable View
How can I disable the 'enter' button in a textbox?
I am not sure on what function to use...
I tried Keypress/Keydown...Code:Private Sub Text1_Change()
If ??????? = vbReturn Then
??????????????????????????
End If
End Sub
Code:Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
KeyAscii = 0
End If
End Sub
Thanks
[Edited by Sacofjoea on 08-09-2000 at 11:56 AM]