| View previous topic :: View next topic |
| Author |
Message |
bheesham Advanced Cheater
Reputation: 0
Joined: 08 Nov 2006 Posts: 88 Location: ::1
|
Posted: Sun Oct 28, 2007 2:35 pm Post subject: Multi User Chat |
|
|
Hey.. i made a multi user chat based off another Multi User Chat
i made it in Visual Basic 6.0... and its really small...
i was wondering if there would be any way to make the chat box (where you see the messages) scroll down automatically... because I dont know how to do that...
or
if you have no idea what i just said then:
Run it twice
Connect it to yourself
keep spamming....
have to keep scrolling down? well.. thats wut i wanna fix!
Here is the compiled and working .exe... please reply back to this... i WILL put your name into the credits.... =D
|
|
| Back to top |
|
 |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Sun Oct 28, 2007 2:38 pm Post subject: |
|
|
dont work o.O
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Oct 28, 2007 3:00 pm Post subject: |
|
|
| ScrollToCaret() I think is what you're looking for. Pretty sure this is in VB6.
|
|
| Back to top |
|
 |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Sun Oct 28, 2007 3:18 pm Post subject: |
|
|
| slovach wrote: | | ScrollToCaret() I think is what you're looking for. Pretty sure this is in VB6. |
or multiline = true?
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Oct 28, 2007 3:30 pm Post subject: Re: Multi User Chat |
|
|
Did you read it?
| bheesham wrote: | | have to keep scrolling down? well.. thats wut i wanna fix! |
He's not looking for it to be multilined, he wants it to scroll. ScrollToCaret() will do just that.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Oct 29, 2007 3:54 am Post subject: |
|
|
He wants it to scroll as chat happens, multiline is just a property to allow the text box to have more then one line. (Making it accept line breaks.)
To get it to scroll, in you will want to use something like:
| Code: | Private Sub Text1_Change()
Text1.SelStart = Len(Text1.Text) + 1
End Sub |
EDIT: Also, this is for VB6, ScrollToCaret is a VB.NET thing.
_________________
- Retired. |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Oct 29, 2007 10:56 am Post subject: |
|
|
Ah I should have looked closer when I was checked google. Figured OH HEY FIRST RESULT IS A VB6 FORUM, SOUNDS ABOUT RIGHT.
|
|
| Back to top |
|
 |
|