How can I get the selected item number in the ListView?
I'm a senior programmer.
Working at CamSight, Dental imaging solutions industry.
Printable View
How can I get the selected item number in the ListView?
I'm a senior programmer.
Working at CamSight, Dental imaging solutions industry.
If you specified a key when adding the item, you can use the key property, otherwise, you can use the index property.
Msgbox Listview1.SelectedItem.Key
Msgbox Listview1.SelectedItem.Index
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook