• Welcome to Valhalla Legends Archive.
 

Text Box Scrolling...

Started by The_Idiot, May 09, 2003, 10:29 PM

Previous topic - Next topic

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.

iago

onchange:
text1.selstart = len(text1.text)


This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Fr0z3N

there's an ocx you can use but I forget what its called.

Zakath

Umm...there's absolutely no call to go and include a bulky OCX dependency for something as simple as scrolling a text box.
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

iago

Yes, it's a single line of code in the onchange() event, like my code demonstrates :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Fr0z3N


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?