Quote Originally Posted by MaximilianMayrhofer
Why take the entire listviewitem? Just take the index.
Good point. I didn't really read the code so didn't see how it was being used.

I said to use the first SelectedItem, not the FocusedItem. They may or may not be the same object, depending on the circumstances. In your circumstances they are not.

Also, as Max says, there's no point passing more than you need. If all you need is the Text of the subitem then that's all you should be passing. Not the whole subitem.