how to avoid atomatic selection of text in textbox?

  • Thread starter Thread starter Stephan Elsner
  • Start date Start date
S

Stephan Elsner

I want to output text in a multiline scrollable read only textbox, but
the text is always selected which look strange and is hard to read.

How can I deselect the text programatically?
 
Stephan Elsner said:
I want to output text in a multiline scrollable read only textbox, but
the text is always selected which look strange and is hard to read.

How can I deselect the text programatically?

Take a look at the control's parameterized 'Select' method and its
'SelectionStart' and 'SelectionLength' properties.
 
Back
Top