Question How to enable cut, copy and paste keyboard shortcuts?

zaurb

New member
Joined
Nov 26, 2008
Messages
2
Programming Experience
Beginner
Hello!

How do I enable Ctrl+C, Ctrl + X and Ctrl+V for textboxes in my application? I can copy, cut and paste by right-clicking the textbox but keyboard shortcuts won't work...
Also, in the menu under Edit I have Cut , Copy, and Paste but they don't work either. Under the code for these buttons I see the following:

VB.NET:
Private Sub CutToolStripMenuItem_Click(ByVal sender As Object, ByVal e As EventArgs) Handles CutToolStripMenuItem.Click
        ' Use My.Computer.Clipboard to insert the selected text or images into the clipboard

    End Sub
 
Back
Top