Valhalla Legends Forums Archive | General Programming | Text Box Scrolling...

AuthorMessageTime
The_Idiot
If someone knoww the property to make a textbox scroll down... like when there is info that goes beyond the visible object... and when you scroll down, new text causes it to scroll back to the top.
If anyone knows how to make it stay scrolled down with the latest text in vb, it would be cool if you could tell me. it slipped my mind.
May 10, 2003, 3:29 AM
iago
onchange:
text1.selstart = len(text1.text)


May 10, 2003, 4:06 AM
Fr0z3N
there's an ocx you can use but I forget what its called.
May 17, 2003, 4:03 PM
Zakath
Umm...there's absolutely no call to go and include a bulky OCX dependency for something as simple as scrolling a text box.
May 17, 2003, 4:35 PM
iago
Yes, it's a single line of code in the onchange() event, like my code demonstrates :)
May 17, 2003, 7:14 PM
Fr0z3N
:) iunno im lazy.
May 18, 2003, 1:02 AM
Yoni
Lazy? Sounds like more work is required to maintain the registration, package and delivery of an OCX than to add one line in native VB?
May 18, 2003, 9:52 AM

Search