Lowell, thanks for the quick reply.
I'll take things one at a time. By the way,
I'm running C# Express 2005 Beta.
"Change the focus to another control on the form"
There is no other control on the form, only the TextBox
that I'm using for debug output. Other than that, I just
draw lines on an empty part of the form.
I tried adding a button. If run the program and click
on the button, TextBox is no longer highlighted.
But, I don't seem to know how to change focus in code.
Tried
TextBox = "hello";
button1.Focus();
did not work.
More later.
Thanks,
"Lowell Heddings" wrote:
Change the focus to another control on the form, either at the start or
after you add the text.
You could alternatively change the fonts/colors or use a label control
instead.
Lowell
Jeff Bangert wrote: How to turn it off?
For example, this code
TextBox1.Text = "hello";
puts "hello" in the TextBox, but
it is highlighted. I want to turn off
the highlighting.
I have looked at every TextBox design property.
The TextBox is used for debug program output.
Highlighting is hard to read.
Thanks,