|
-
Jan 6th, 2000, 06:19 AM
#1
Thread Starter
Junior Member
I am trying to program a very simple chat application. The only problem I have is that whenever the program receives chat text and adds it to the text box that shows the chat, the text box jumps back up to the top of the box. Can I make it stay at the bottom so that new text will be easily visible without scrolling back down to the bottom manually?
(I'm simply resetting the Text property of the textbox, e.g. TextBox1.Text = TextBox1.Text + NewText)
-
Jan 6th, 2000, 06:41 AM
#2
Addicted Member
this should do the thing.
just place it after your post code.
like this
Private Sub SendMsg_Click()
text1.postdata dadada.. and more code
Text1.SelStart = Len(Text1)
End Sub
got it ?
Hope so 
-Lumin
-
Jan 6th, 2000, 06:42 AM
#3
Addicted Member
woho i got promoted to member on the last post 
YIHAA..
-
Jan 6th, 2000, 06:43 AM
#4
Addicted Member
woho i got promoted to member on the last post 
YIHAA..
-
Jan 6th, 2000, 07:08 AM
#5
Lively Member
Lumin do you have to brag? j/k
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|