I am trying to write code that with a click of a button, i can move either up/down from a selected item in that list. Can anyone one help me out on this one? I have only been programming with VB 6.0 for 2 weeks and have no previous programming experience.
Use the ListIndex property of the listbox, and when you want to move up the list decrement this value and when you want to move down the list incremenet the value. You may have to use doevents afterwards but I can't rememeber.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.