J
John
Hi
I am trying to capture Ctrl-C/X/V in a form's KeyDown event and am using the
below code but it is not working as pressing Ctrl-C for example returns a
e.KeyCode = CtrlKey and not Keys.C, Keys.X, Keys.V etc.
Select Case e.KeyCode
Case Keys.C
If e.Modifiers = Keys.Control Then
End If
Case Keys.X
If e.Modifiers = Keys.Control Then
End If
Case Keys.V
If e.Modifiers = Keys.Control Then
End If
End Select
How can I achieve this please?
Many Thanks
Regards
I am trying to capture Ctrl-C/X/V in a form's KeyDown event and am using the
below code but it is not working as pressing Ctrl-C for example returns a
e.KeyCode = CtrlKey and not Keys.C, Keys.X, Keys.V etc.
Select Case e.KeyCode
Case Keys.C
If e.Modifiers = Keys.Control Then
End If
Case Keys.X
If e.Modifiers = Keys.Control Then
End If
Case Keys.V
If e.Modifiers = Keys.Control Then
End If
End Select
How can I achieve this please?
Many Thanks
Regards