Results 1 to 16 of 16

Thread: how do u make a list box scroll down automatically

  1. #1

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919

    how do u make a list box scroll down automatically

    i tried a bunch of stuff, but couldnt figure it out

    anyone know?

    thx in adv,
    Nabeel
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  2. #2
    You can do it this way, but it will not preserve the current selection:

    VB Code:
    1. [i]listboxname[/i].ListIndex = [i]listboxname[/i].ListCount - 1

  3. #3
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    or If you want to make some kind of animation with scrolling then you can use a timer and put the source code that fiburt1 gave into the timer event
    Baaaaaaaaah

  4. #4

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    yeah ill try that out when i get back 2 work tomorrow.

    thanks,
    Nabeel
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  5. #5
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    back to work?
    Your signature says you are 15.
    ummmmm... i doubt a company would hire a 15-yr old to do their programming.
    retired member. Thanks for everything

  6. #6

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    it's a summer job, and i get paid $5.50/hr for it.

    it's experience, that all im practically getting out of it.


    and some good references.

    -nabeel
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  7. #7
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    How much experience do you have Nabeel? I am also 15 but I am sure that nobody is gonna hire me for programming unless I know - atleast - lots of C\C++ OR vb
    Baaaaaaaaah

  8. #8
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335
    DUDE!!!
    He's working at Philips!!!
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

  9. #9

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    hey!...how did you know?

    well i just wrote on my application that i know VB and stuff, so they saw that and put me in a programming job. i just got lucky i guess.

    how much VB do i know? i dunno, lots i guess, ive done classes/collections and all that fun stuff..look around in a bunch of places, and on your application write how much VB you know and write "i enjoy programming","i enjoy working with computers"..otherwise id be doing data entry

    -Nabeel

    [Edit:] oh i forgot i wrote that in "occupation"..lol. yeah its not like a "big" project..its small to medium sizeish (however u measure it)
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  10. #10
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Programming at Philips?
    Baaaaaaaaah

  11. #11

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    yeah teh company that makes the TVs and stuff
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  12. #12
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    What do you program in there?

    They dont make TV applications..right?
    Baaaaaaaaah

  13. #13
    New Member
    Join Date
    Sep 2009
    Posts
    9

    Re: how do u make a list box scroll down automatically

    This will force the list box to select the last item in the listbox, scrolling it down

    ListBox1.SelectedItem = ListBox1.Items.Item(ListBox1.Items.Count - 1)

    §AE§

  14. #14
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: how do u make a list box scroll down automatically

    Quote Originally Posted by §AE§ View Post
    This will force the list box to select the last item in the listbox, scrolling it down

    ListBox1.SelectedItem = ListBox1.Items.Item(ListBox1.Items.Count - 1)

    §AE§
    You do realize you replied to a thread that is 8 years old?
    P.S. What you posted may work in .Net but not VB6.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  15. #15
    Addicted Member Xiphias3's Avatar
    Join Date
    Jan 2009
    Location
    Clarendon, Jamaica
    Posts
    188

    Re: how do u make a list box scroll down automatically

    Quote Originally Posted by LaVolpe
    You do realize you replied to a thread that is 8 years old?
    It's like the military.

    "Leave no-one Behind!"
    "Leave no thread unresolved!"

  16. #16
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: how do u make a list box scroll down automatically

    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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