|
-
Jan 24th, 2006, 12:08 PM
#1
Thread Starter
New Member
VB6 TextBox ScrollBar get/update position
I am limited to using vb6 here and was wondering if there was a way that I could update the scroll position to go to the last line of the current text box (I basically have a CR/LF delimited TextBox and want to keep the focus on the last line printed as lines are added (versus staying on the first line as it does currently)...is there anyway to do such a thing? My searches only yielded results for rich text fields etc. any help is appreciated.
-
Jan 24th, 2006, 12:33 PM
#2
Re: VB6 TextBox ScrollBar get/update position
As you add each line to the textbox, execute this code:
Text1.SelStart = Len(Text1.Text)
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|