HELP: listview multiselect 
Author Message
 HELP: listview multiselect

Hi,

Does somebody know if there is a variable in VB5 where the keys of the
selected items in a listview are stored, or do i have to store them in an
array manually? Thanks in advance.

Regards,
Ken.



Sat, 13 Nov 1999 03:00:00 GMT  
 HELP: listview multiselect

Quote:

> Hi,

> Does somebody know if there is a variable in VB5 where the keys of the
> selected items in a listview are stored, or do i have to store them in an
> array manually? Thanks in advance.

> Regards,
> Ken.

The keys are stored with each ListItem object in the ListItems
Colleciton. To determine them, you must iterate through the collection
and check the Selected property first, i.e.

For each xItem in ListView1.ListItems
        if xItem.selected then msgbox xItem.key
next

Hope this helps



Sat, 13 Nov 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Listview : MultiSelect problem

2. ListView???? MultiSelect

3. ListView MultiSelect Drag Events

4. ListView MultiSelect Bug

5. SelectedItem w/ MultiSelect ListView

6. Listview drag and drop bug in icon mode when multiselect=true

7. Listview Multiselect

8. MultiSelect in ListView control

9. MultiSelect of listview

10. Multiselected Listview problem

11. whoops - multiselect a listview !

12. ListView: Qty Selected in Multiselect Mode

 

 
Powered by phpBB® Forum Software