How do I make a "E" or "F" become a Keys.E or Keys.F?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fidelis Sobotta
    New Member
    • Mar 2012
    • 3

    How do I make a "E" or "F" become a Keys.E or Keys.F?

    I have a string containing "E" or "F" or some other single literal.

    How do I make this string become a Keys.E or Keys.F?
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    Using Keys.F should handle the F key, likewise Keys.E should handle the E. I guess I'm not understanding what you're looking for. Show the you're working with and we'll help all we can.

    EDIT:
    This MSDN page shows all the Keys Enumeration

    Comment

    Working...