Paste&Copy&Cut&Delet in textBox

  • Thread starter Thread starter Tomomichi Amano
  • Start date Start date
T

Tomomichi Amano

Hello.
I was wondering how to paste-copy-cut-delete at a SELECTED SPOT in a
textBox.

Thanks in advance.
 
Hi,

You can use the Paste, Copy and Cut methods of the TextBox class, these will
work with the text currently selected or the current location of the cursor.
If you need to programatically set the cursor-location or the selected text
you can use the SelectionStart and SelectionLength properties of the
textbox.

Regards, Mikael
 
Back
Top