TextBox's in .Net
I'm trying to figure something out about this, and having a little trouble, so I figured I'm make an entry about it. Hopefully, I'll get lucky and someone who knows the answer will grace my blog with their presence. ;)
So I have a form with a TextBox that I'm setting the Text property equal to the string return value of a method that builds a large string for me. The text does get set perfectly and I have no problems with what the value is. My problem is that it's always selected...the whole TextBox's string value is highlighted. I would like for it not to be...
I've been trying to do TextBox.SelectedText = string.Empty; and that didn't work. I tried setting focus to the form and that didn't work...
I'll keep messing around, but if anyone can give me a pointer on this I'd be ever so grateful. :)