CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Posts
    158

    [RESOLVED] Scrolling a list box.

    What is the best way to force a list box to visually scroll down the list as things are added to it from within the program?

    Thank you.
    I use VB.Net 2008 in all my wash, for those whiter whites.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Scrolling a list box.

    Yes. Listbox has a .TopIndex property.

    http://www.java2s.com/Code/VB/GUI/Se...oxTopIndex.htm
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Apr 2004
    Posts
    158

    Re: Scrolling a list box.

    Worked a treat, thank you.
    I use VB.Net 2008 in all my wash, for those whiter whites.

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

Featured