Results 1 to 3 of 3

Thread: listbox *RESOLVED*

  1. #1

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    listbox *RESOLVED*

    I have a listbox with 4 columns and when I enter enough info it shows me a horizontal scroll bar. Is there any way of scrolling the listbox to the right when I add a new value to the listbox?Otherwise I add a value and if for example it is in column 5 and I have 3 columns, I won't scroll to the column it was added but show me the columns that are already shown. It works if I select and deselect the last value but I am hoping that there is a more inteligent way of doing it.
    Thanks in advance
    Last edited by manavo11; Jan 22nd, 2003 at 03:44 PM.


    Has someone helped you? Then you can Rate their helpful post.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    VB Code:
    1. List1.TopIndex = List1.ListCount - 1

  3. #3

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Thanks Aaron! The other way was annoying because you could sometimes notice the last value flicker for a split second. Thanks again...


    Has someone helped you? Then you can Rate their helpful post.

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