|
-
Nov 20th, 2008, 06:28 AM
#5
Re: [2005] VB - Pass Selected ListView Item To Another Form
 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|