How to get selected text?

  • Thread starter Thread starter Deena
  • Start date Start date
Assuming you are talking about System.Windows.Forms.TextBox - SelectedText
property.
 
For the text box or rich text box control? Use the SelectedText property.

How do I get the highlighted text from a control?

Deena.
 

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