title: detecting keys by variables Visual Basic
body: <p>I want to make the keys that are to be detected customizable by the user.
  Using a variable after the dot from keys doesn't work though. It says it is not a member. What could i try?</p>
  
  <pre><code>    If keysformovment = "customized" Then
           If e.KeyCode = Keys.moveToRight Then
               MoveRight = False
           End If
           If e.KeyCode = Keys.moveToLeft Then
               MoveLeft = False
           End If
      End If
  </code></pre>