Results 1 to 2 of 2

Thread: Textbox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    120

    Textbox

    Hi,

    I currently have a multiline textbox which I am adding lines of text to, to inform the user. The problem is that when the text goes off the bottom and the scroll bar appears the new line is off the bottom so it does not appear unless the user scrolls down. Is there a way of moving the scroll bar using code so that the new line is visable.

    Hope you understand this

    Thanks

    Joolz

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. With Text1
    2.     .SelStart = Len(.Text)
    3. End With

    Use that after you add data to the textbox.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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