Results 1 to 4 of 4

Thread: Auto scroll

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    Sheffield, Derbyshire, UK
    Posts
    68

    Post

    Im making a chat program that sends text to an unabled text box, so the user cant mess the text up. When the text gets to the bottom of the box, the text goes off the bottom, and the box CANT be scrolled. Is there any way of stopping this, or letting the box auto scroll?
    Thanx

    ------------------
    jimmy
    ICQ:35813919
    mail:[email protected]

  2. #2
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    I'm not sure if this will work with a disabled text box, but try this:

    Code:
    Private Sub myTxt_Change()
        myTxt.SelStart = Len(myText.Text) 'AutoScroll
    End Sub
    ------------------
    Tom Young, 14 Year Old
    [email protected]
    ICQ: 15743470
    AIM: TomY10
    PERL, JavaScript and VB Programmer

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    Sheffield, Derbyshire, UK
    Posts
    68

    Post

    Thanx mate, nice to see another young programmer around (Im only 16)
    I got around the problem by using a list box, But thanx anyway



    ------------------
    jimmy
    ICQ:35813919
    mail:[email protected]

  4. #4
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    Glad I was able to help!

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