Hi all i have a problem.I made a listbox called "Index" then added a couple ot items in it.My questio is
how when someone click on a certain item a image or text display?Please help me
lstIndex.AddItem "Item 1"
lstIndex.AddItem "Item 2"
lstIndex.AddItem "Item 3"
lstIndex.AddItem "Item 4"
lstIndex.AddItem "Item 5"
lstIndex.AddItem "Item 6"
lstIndex.AddItem "Item 7"
HAI........ can
HAI........
can you please help me, i have a problem with my list box. The problem is i have to display a text content in a particular list index.
thanks.........
ListBox Problem
My questio is how when someone click on a certain item a image or text display?
I don't really understand you question. If you select an item in the ListBox what do you want to happen? Display text or display a picture?
You can have both, you just need to decide how many items are in the ListBox and you can use the List1.Text or the List1.ListIndex. The first item at the top will have a ListIndex of 0 (zero).
I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
Post new comment