Sharalynn
asked on
Adding text to a textbox and move down along the scrollbar
Hi,
I have a timer which add some text (information) to a textbox, and since the textbox is small, I would like it to automatically scroll the textbox down as text are being added. Is it possible?
I have a timer which add some text (information) to a textbox, and since the textbox is small, I would like it to automatically scroll the textbox down as text are being added. Is it possible?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent, I understand it totally now. Thank you jpaulino!
But one thing, you said we need to focus it, but since we used Select to go to the end of the line always, does it auto focus for us?
But one thing, you said we need to focus it, but since we used Select to go to the end of the line always, does it auto focus for us?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nope, you have answered all completely, thanks lots!
Glad I could help!
ASKER
TextBox1.Text &= "asfddf" & vbCrLf,
it will not focus on the textbox, and the caret will always be at the 0 position with text going down and down and the scrollbar getting longer and longer.. Any idea on how to solve that? Otherwise your code works perfectly fine.
What is the difference between the 2 of them anyway?