Results 1 to 4 of 4

Thread: Textbox auto scrolling [resolved]

  1. #1

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172

    Textbox auto scrolling [resolved]

    How can i let my textbox autoscroll to the bottom when a new text is inserted through code?

    text1.selectionstart = text1.textlength

    doesnt seem to work
    Last edited by Ultimasnake; Oct 2nd, 2003 at 05:35 AM.
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  2. #2

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172
    Got it nevermind
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  3. #3
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    So how do you do it then? What you suggested originally used to work in VB6. Has it changed?
    This world is not my home. I'm just passing through.

  4. #4

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172
    textbox1.focus
    textbox1.ScrollToCaret()

    it needs to have focus to work... got stuck on that one :S
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

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