TextBox Chat

McTerry
01-23-2002, 05:54 AM
Hello out there. :)
I also need some Help!

Im trying to make an TextBox chat message system for me and
some of my friends. It's only working for LAN. :(
But anyway. I have succeded with all the msg stuff that must
be wroten in an .txt file. (hehe I'm an looser ey?)
But the BIGGEST problem is that my scroll function is not working.
I want it to scroll down. But all the codes that I have tested was
not working for my form.
*I hope that I can explain good* :)
I also have an Timer in the form, and it's uppdating the file every
second. (I think) But when the Timer update the ScrollBar
is moving Up! But I want it to stay dawn. So ppl can se the
newest message. :)
I want it to work at the same wise that mIRC works on.

Anyone who can help me??

Thanx peeps.

Flyguy
01-23-2002, 06:00 AM
Do you mean you want to scroll to the end of the textbox?
If so, use: Text1.SelStart = Len(Text1.Text)

McTerry
01-24-2002, 01:26 AM
Yeah! But I tryed that code too. But it was not working.
That for sure. But I'll test it again. :)

McTerry
01-24-2002, 01:32 AM
Hey man. THANX A LOT!!!!!!!!!!!!!!!!!!!!!!!
I dont get it quite. :)
I tested it before and it was not working but now, its WORKING!!
Thanx pal! :) :) :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum