|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to avoid atomatic selection of text in textbox?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" <el***@web.de> schrieb: Take a look at the control's parameterized 'Select' method and its >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? 'SelectionStart' and 'SelectionLength' properties. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> |
|||||||||||||||||||||||