jim jimmy

jim jimmy

  • NA
  • 3
  • 0

action under Button press!

Mar 18 2010 11:41 AM
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)