You need to handle the appropriate controls KeyDown event, I assume you'll be needing the Forms KeyDown event:
vb Code:
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown If e.KeyCode = Keys.Left Then 'Do whatever End If End Sub




Reply With Quote