Results 1 to 2 of 2

Thread: Textboxes

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    Sydney NSW Australia
    Posts
    23

    Exclamation

    When I add a new line to a text box the scrollbar goes back to the top. How would I make it so the scrollbar always stays at the bottom?

    Thanks

  2. #2
    Hyperactive Member
    Join Date
    Dec 1999
    Posts
    321

    Smile Use Selstart

    Paste this code after your new line has been entered.

    Code:
    Text1.SelStart = Len(Text1.Text)
    also, you might want to use
    Code:
    Text1.SetFocus
    but i don't think it's necessary.

    Signed, Rodik ([email protected])
    Programmer,usesVB6ED
    ===========================
    Copyright©RodikCo,2002.

    Dont mind this signature ;] Its old

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