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.
 
Back
Top