title: Why do my Arrow Keys stop working and the cursor just jump from button to button?
body: <p>I am working on an app to do quality review of scanned books. I display two pages at a time and let the user use the arrow keys or on-screen buttons to move right or left. The arrow keys work fine until one of arrow buttons is clicked. Then the cursor just jumps from button to button.</p>
  <h2>Capturing keystrokes:</h2>
  <pre><code>    Private Sub Form1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) _
    Handles Me.KeyDown
      If (e.KeyCode = Keys.Right) And (currStatus &lt;&gt; &quot;LastPage&quot;) Then
          Call MoveRight()
      End If
      If (e.KeyCode = Keys.Left) And (currStatus &lt;&gt; &quot;FirstPage&quot;) Then
          Call MoveLeft()
      End If
  End Sub
  </code></pre>
  <h2>Buttons on each side:</h2>
  <p>I found and tried &quot;Me.KeyPreview = True&quot; but it made no difference.
  I even tried adding coding .KeyDown for each of the buttons but it made no difference.</p>