ok, Say i have a list box with 10 Items in it. And if I Select a item, How would i get the item selected List count Number and send the number to a text box.
I tryed Form1.count.text = Form1.List1.ListIndex but I get a Invalid Qualifyer, Not sure what to do plz help.
Thx
VB 6
listview.SelectedItem.property
in other words:
txtSelectedItemIndex.Text = lstMyListview.SelectedItem.Index
ok i did what u said this is what i came out with
count.Text = List1.SelectedItem.Index
But I get Invalid Qualifyer... dont work :(
Is it a list box or a list view?
I always get confused with those....
Listview
If it's a listbox, then it would be the .ListIndex property, I believe.
its a listview, and that still dont work.
You need help with reading, not code. The name of this forum is 'Battle.net Bot Development'.
nah i asked for help, not for u to give me shit
oh yea and this is for a bot.. so i do know how to read
So if I wanted to ask how to make a mind control device that would force everyone to obey my every command, I would post it here rather than the mind control forum (which there should be one of) just because I wanted to put it in a bot?
+1 to Camel for FINALLY understanding where to post mind-control-device-related issues.
!~!HaZaRD!~!
........................... Well are u guys gonna help me or not?