Click to See Complete Forum and Search --> : multi-line textbox


Chibang
May 8th, 2000, 04:05 PM
I have a question.....

i have a multi-line textbox with verticle scroll bar,
i added a string (from records) on each line of the textbox and the end with vbCrLf to go to next line.

text1 = text1 & vbcrlf


the problem is the scroller bar won't automatically go down to show the last record. i have to scroll it manually to the bottom of the textbox.

how can i make the scroll bar automatically scroll down and show the last record when the viewable size of the textbox is not tall enough.

thank you for your attention!!

chi-Bang!

Leo Koach
May 8th, 2000, 07:49 PM
Try to use the follawing...

Text1.SelStart = Len(Text1.Text)

you must use this at the end