So I feel crasy stupid asking this and I'm sure it is a simple answer but what code do I use to delete text from a string in a textbox that has been selected by a user. I know it can be done just by having the user select the text and press the delete button. However, I have the delete button as a shortcut in a menu item on the same form so I would like to know the code for the it. Again I feel stupid but any help would be great.