Hello,
It seems to be strange, but in a loop, when I add some text to the text box like this:
For X = 1 to 100
TextBox1.Text = TextBox1.Text + "Text" + vbNewLine
Next
However, the scroll bar will stay at top and I can only see the first few lines of text box, even if I move the scroll bar to down, it will jump back to top as soon as text inside the text box changes.
I want to change this scenario, so scroll bar will stay at down so I can see the last lines of text inside text box.
I don't know how can this be done, but I know it's possible because I've seen some applications like this!
Thank you.
It seems to be strange, but in a loop, when I add some text to the text box like this:
For X = 1 to 100
TextBox1.Text = TextBox1.Text + "Text" + vbNewLine
Next
However, the scroll bar will stay at top and I can only see the first few lines of text box, even if I move the scroll bar to down, it will jump back to top as soon as text inside the text box changes.
I want to change this scenario, so scroll bar will stay at down so I can see the last lines of text inside text box.
I don't know how can this be done, but I know it's possible because I've seen some applications like this!
Thank you.