Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1093
  • Last Modified:

What is F13?

I wanted to know what keystrokes make the F13 key run.
0
kellyegg
Asked:
kellyegg
1 Solution
 
DalinCommented:
kelly,
try to press Alt and 1-2-3 from the right hand side number keys (don't release the alt until all 3 numbers are enterd.
In VB, the keycode is vbKeyF13.
Regards
Dalin
0
 
kellyeggAuthor Commented:
This did not work.
0
 
jjmartinCommented:
F13 is shift+F1.  F14 is shift+F2.  F15 is shift+F3.  Etc... See the pattern here?
0
 
stevesmCommented:
kelly,
you can only capture "F" keystrokes with the certain events are you using the correct syntax and is your control set to receive keystrokes? Key preview must be set to true on the form, for example try this.

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'Trap the F13 key for ending the app
    If KeyCode = vbKeyF13 Then
        End
End If
End Sub

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now