Enter KeyDown only on column 1 or 2

1 posts, 0 answers
  1. Hengky
    Hengky avatar
    43 posts
    Member since:
    Sep 2015

    Posted 09 May 2017 Link to this post

    How to firing enter key only on column 1 or 2 ...

    have this code ... 

        Private Sub GridList_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles GridList.KeyDown
            If e.KeyCode = Keys.Enter Then
                     Msgbox "Enter KeyPress" 

           End If

        End Sub

Back to Top