shortcut key for image button?
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
how can I set a shortkey for a image button? my button only display bitmap, not display any text. I want set shortcut key on my button. pls, help me - a beginner!!! thanks alot. dungti
i may have answered your question on vbforums.com like this....
Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown If e.Alt = True Then If e.KeyCode = Keys.X Then MsgBox("alt & x") End If End If End Sub
hope thats what you wanted :)Csharp™ the coder formally known as dynamic
Dim TwinsHaveArrived AsString = "twins arrived safely , 17/08/2003 (18:05 & 18:07)"