Question Question on F5 to F8 keydown event?

trialer

Well-known member
Joined
Oct 4, 2010
Messages
64
Programming Experience
1-3
VB.NET:
        Select Case e.KeyCode           
           Case Keys.F1, Keys.F2, Keys.F3, Keys.F4, Keys.F5, Keys.F6, Keys.F7, Keys.F8, Keys.F9, Keys.F10, Keys.F11, Keys.F12
           MsgBox(e.KeyCode)
        End Select


Whenever i try to do a keydown event in F5 to F8, they have the same keycode.

Please help how do i fix this.


Thanks
 
Last edited:
Back
Top