K
Kent Briggs
VB 2005 Express. I have a readonly multiline textbox with a vertical
scrollbar. I'm programatically adding text to it with
textbox1.appendtext(mytext) and it scrolls automatically. However, I
only want automatic scrolling when the thumb control is at the bottom
position. If the user scrolls up, I want it to hold its position as more
text is appended.
So basically I need to know:
1. How to detect if the scrollbar is at bottom position
2. How to append text without scrolling the textbox.
scrollbar. I'm programatically adding text to it with
textbox1.appendtext(mytext) and it scrolls automatically. However, I
only want automatic scrolling when the thumb control is at the bottom
position. If the user scrolls up, I want it to hold its position as more
text is appended.
So basically I need to know:
1. How to detect if the scrollbar is at bottom position
2. How to append text without scrolling the textbox.