|
-
Dec 6th, 2008, 03:24 AM
#1
Thread Starter
Member
Capturing a keyboard input
Hello! I would like to know how do i capture the key input by a user on a keyboard?
Private Sub btnVoid_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVoid.Click
Dim rowIndex As Integer = DataGridView1.CurrentRow.Index
'if user press the enter key then
'Remove the the row from the datagridview1 represented by the rowIndex.
End Sub
Help is greatly appreciated.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|