English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-02-23 08:01:11 · 1 answers · asked by Rami 5 in Computers & Internet Programming & Design

visual basic 2005

2007-02-23 08:07:38 · update #1

Private Sub TextBox2_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox2.KeyUp

If e.Shift Then
If e.KeyCode = Keys.D2 Then
'anything
End If
End If


End Sub
found it thanks god

2007-02-23 08:23:17 · update #2

1 answers

check form Key press event. Or you can also hook up to the globel event handler and get all events.

2007-02-23 08:17:42 · answer #1 · answered by askMahesh 3 · 2 0

fedest.com, questions and answers