Click to See Complete Forum and Search --> : Auto scroll
jimdalby
Nov 7th, 1999, 03:23 AM
Im making a chat program that sends text to an unabled text box, so the user cant mess the text up. When the text gets to the bottom of the box, the text goes off the bottom, and the box CANT be scrolled. Is there any way of stopping this, or letting the box auto scroll?
Thanx
------------------
jimmy
ICQ:35813919
mail:jim@rdalby.f9.co.uk
Compwiz
Nov 7th, 1999, 05:33 AM
I'm not sure if this will work with a disabled text box, but try this:
Private Sub myTxt_Change()
myTxt.SelStart = Len(myText.Text) 'AutoScroll
End Sub
------------------
Tom Young, 14 Year Old
tyoung@stny.rr.com
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
jimdalby
Nov 8th, 1999, 05:09 AM
Thanx mate, nice to see another young programmer around (Im only 16)
I got around the problem by using a list box, But thanx anyway
------------------
jimmy
ICQ:35813919
mail:jim@rdalby.f9.co.uk
Compwiz
Nov 8th, 1999, 05:19 AM
Glad I was able to help!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.