Results 1 to 3 of 3

Thread: [RESOLVED] List box item scrolling (Next item)

  1. #1

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Resolved [RESOLVED] List box item scrolling (Next item)

    Hello,

    I was wondering what the code would be for a command button to make the next item in the list box be selected?

    Kind of like a NEXT button.
    EXAMPLE:
    List box Line 1
    List box Line 2
    List box Line 3
    List box Line 4

    If List box Line 2 is selected then clicking the next button would DESELECT List box Line 2 and SELECT List box Line 3.

    If I didn't explain enough just let me know.

    Stilekid007
    Quote Originally Posted by stilekid007
    I RATE ALL HELPFULL POSTS!

  2. #2
    Hyperactive Member Frodo_Baggins's Avatar
    Join Date
    Feb 2004
    Location
    Sao Paulo, Brazil
    Posts
    397

    Re: List box item scrolling (Next item)

    Try...

    VB Code:
    1. List1.Listindex = List1.Listindex + 1

    It's quite simple!
    Ash Nazg durbatuluk, Ash Nazg gimbatul, Ash Nazg tharkathuluk, Agh barzum-ishi krimpatul.

  3. #3

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Re: List box item scrolling (Next item)

    Ahhh yes, thats what I needed!

    I was trying
    VB Code:
    1. List1.Listindex +1

    Thanks man!
    Stilekid007
    P.S. YOU GOT RATED! haha
    Quote Originally Posted by stilekid007
    I RATE ALL HELPFULL POSTS!

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