2
Answers

action under Button press!

jim jimmy

jim jimmy

14y
2.3k
1
Hi there.

I have a form that has 20 buttons on it.

I want to be able to control those Buttons from the number pad.

here's what I have:
Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
        Select e.KeyCode
            'Time and Date
            Case Keys.NumPad1

** How do I get this to = Button1.click (so that it press button 1 on the screen) **

Best regards,

James

Answers (2)