Results 1 to 5 of 5

Thread: Textbox scroll

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    23

    Post

    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)

  2. #2
    Addicted Member
    Join Date
    Jul 1999
    Location
    Bergen, Norway
    Posts
    143

    Post

    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

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Location
    Bergen, Norway
    Posts
    143

    Post

    woho i got promoted to member on the last post


    YIHAA..

  4. #4
    Addicted Member
    Join Date
    Jul 1999
    Location
    Bergen, Norway
    Posts
    143

    Post

    woho i got promoted to member on the last post


    YIHAA..

  5. #5
    Lively Member
    Join Date
    Jan 2000
    Posts
    123

    Post

    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
  •  



Click Here to Expand Forum to Full Width