KeyPress Function for Help Buttons (F1, F2, F3...)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WillianRobert
    New Member
    • Jan 2012
    • 1

    KeyPress Function for Help Buttons (F1, F2, F3...)

    I want to know how's the function KeyPress, on VB 2005, when it comes to the Help Buttons (F1, F2, F3)
    for example: to open a form, I press F1, to close it, F2...
  • DilbagSingh
    New Member
    • Feb 2012
    • 5

    #2
    You can use it on KeyUp Event

    If e.KeyCode = Keys.F3 Then
    MsgBox("Done")
    End If

    Comment

    Working...