Edit Menu Functionality

Joined
Oct 28, 2006
Messages
19
Programming Experience
Beginner
You guys seem to know pretty much everything so now i have another question. In my program i have drop down menus just like any other program. One menu is an edit menu with the usual functions. I was wondering how do i get commands like copy, cut, paste and delete to work like in word or internet explorer. Can someone help me out with the code for that.
 
Check out the My.Computer.Clipboard, if you are using a RichTextBox the functions are built in:

VB.NET:
'CUT
RichTextBox1.Cut()

'COPY
RichTextBox1.Copy()

'PASTE
RichTextBox1.Paste()
 
Back
Top