Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrollbars question

Status
Not open for further replies.

adi316

Programmer
Sep 10, 2002
35
0
0
CA
is there any way to make the scrollbar automatically go to the bottom most position, other than something like
Code:
txtBox.SelStart = Len(txtBox)
every time i add new data? TIA
 
That's probably the easiest way, but it's better not to use default properties. Try this instead:
txtBox.SelStart = Len(txtBox.Text)
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top