I've created a Dialog box with textbox to display messages to the user of the program. Whenever I write text to the text box it always comes out highlighted. I can't seem to figure out how to de-highlight the text within the textbox. Anyone have any idea how to do this? Thanks

Marv


From http://www.developmentnow.com/g/29_2005_1_0_0_0/dotnet_framework_windowsforms.htm

Posted via DevelopmentNow Groups
www.developmentnow.com/g
www.developmentnow.com

Re: Highlighted Text by Tim

Tim
Fri Feb 18 11:57:52 CST 2005

What about setting the TextBox's SelectionLength property to zero? Does that
help?

--
Tim Wilson
.Net Compact Framework MVP

"Marv Scheinbart" <mscheinbart@motorola.com> wrote in message
news:3026bdbd-3962-4a32-a512-5cd26ecf9d8a@msnews.microsoft.com...
> I've created a Dialog box with textbox to display messages to the
user of the program. Whenever I write text to the text box it always comes
out highlighted. I can't seem to figure out how to de-highlight the text
within the textbox. Anyone have any idea how to do this? Thanks
>
> Marv
>
>
> From
http://www.developmentnow.com/g/29_2005_1_0_0_0/dotnet_framework_windowsforms.htm
>
> Posted via DevelopmentNow Groups
> www.developmentnow.com/g
> www.developmentnow.com