Aug 3, 2001 #1 grieshm Technical User Aug 2, 2001 7 US how do you list items in the list box and utilize the vb scroll tool. thanks
Aug 4, 2001 1 #2 aliinal Technical User Jun 26, 2001 104 TR If i understand right, you want to use a scroll bar select list box entries (am I right?)... You may use this simple code but if i'm wrong you may explain more detailed... First set scroll bar's Min to 0. Then add this line below to your list1.additem line(s).. Code: Vscroll1.Max = List1.ListCount - 1 And then put this line in the scroll's both Click and Change events... Code: List1.Listindex = Vscroll1.Value I'll be happy if it works... If i'm wrong, explain better and i'll try to help again. Byes... Upvote 0 Downvote
If i understand right, you want to use a scroll bar select list box entries (am I right?)... You may use this simple code but if i'm wrong you may explain more detailed... First set scroll bar's Min to 0. Then add this line below to your list1.additem line(s).. Code: Vscroll1.Max = List1.ListCount - 1 And then put this line in the scroll's both Click and Change events... Code: List1.Listindex = Vscroll1.Value I'll be happy if it works... If i'm wrong, explain better and i'll try to help again. Byes...
Aug 4, 2001 Thread starter #3 grieshm Technical User Aug 2, 2001 7 US this is correct. thank you Upvote 0 Downvote