Hi, I'm trying to detect a 'Return' key press but can't find how to do that.
Reading a character typed into a Textbox is simple, but I can't detect the 'Enter' key.
I tried to detect it at any time, couldn't do that, so I tried to catch Any character, not specifically typed into anywhere... Can't even manage that !
This runs ok, but doesn't actually catch anything !
Poppa.
Reading a character typed into a Textbox is simple, but I can't detect the 'Enter' key.
I tried to detect it at any time, couldn't do that, so I tried to catch Any character, not specifically typed into anywhere... Can't even manage that !
Code:
Private Sub Key_Data(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
Dim z As String = e.KeyChar.ToString
End SubPoppa.