PDA

Click to See Complete Forum and Search --> : counting a list box


Help ME
Nov 27th, 1999, 09:15 AM
ok. some one will click in item in the list box . then text3 to say that number 86 item of the list box. it will till you what number it is.

QWERTY
Nov 27th, 1999, 10:05 AM
I'm not sure what you are asking about but you could use ListBox.Index Property.

Example:

Private Sub List1_Click()
Text3.Text = List1.ListIndex
End Sub


------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.