multi line text box

Hello, I'm reading a text file into a multi line text box. I have a loop in my code so that after I write each new line there is a delay before the program writes the next line. This gives the look of reading in data from a serial device realtime where the data appears to scroll in.

My problem is that I always want to stay at the bottom of the text box so the user can see the last line being read in. Currently my text box stays at the top line and does not show the new lines being written.

Is it possible to keep the focus at the bottom of the text box so the user can see the newest line being written to the text box?

Thanks, Bob
[673 byte] By [bobhaynes_1] at [2007-11-18 8:48:57]
# 1 Re: multi line text box
Use the SELSTART property to move the cursor (and, hopefully, the focus). Then just move it to the end of your textbox.

e.g. Text1.SelStart = Len(Text1.Text)
Pinky98 at 2007-11-9 23:45:07 >
# 2 Re: multi line text box
That did it! thanks...
bobhaynes_1 at 2007-11-9 23:46:04 >