I had to figure this out a long time ago, and finally found a solution:
myTextBox.SelectionStart = myTextBox.Text.Length;
myTextBox.ScrollToCaret();
(I acutally put this in the TextChanged event of the textbox, so I never
have to worry about it)
HTH
-Cliff
"Drew" <Dr**@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
I have a multiline text box that is about 20 lines longs. I have a timer
that writes a message to it ever minute. What I want is to have the last
line of the text box always displayed. Right now, you have to scroll down
to get to see what was last updated. How do I do it autmomatically with my
code?
Drew