Jeong
September 19th, 2001, 07:51 PM
How can I get the selected item number in the ListView?
I'm a senior programmer.
Working at CamSight, Dental imaging solutions industry.
Cakkie
September 20th, 2001, 01:02 AM
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
slisse@planetinternet.be
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