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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top