ListView to ListView copying ??? 
Author Message
 ListView to ListView copying ???

Anyone suggest a fast way of replicating the a report style ListView.
Currently Im looping on ListItems and ListSubItems, but as you can imagine
with 2000 items and 8 columns Im doing 18000 iterations. I know you can do a
similar thing with Lists and Combos using the API but I need a fast way
using the Listview.

TIA




Mon, 18 Aug 2003 06:45:14 GMT  
 ListView to ListView copying ???
No....unfortunately, the ListItems property is read-only. All I can suggest
is looping through everything.

--

Sincerely,

Josh Mitts


Quote:
> Anyone suggest a fast way of replicating the a report style ListView.
> Currently Im looping on ListItems and ListSubItems, but as you can imagine
> with 2000 items and 8 columns Im doing 18000 iterations. I know you can do
a
> similar thing with Lists and Combos using the API but I need a fast way
> using the Listview.

> TIA





Fri, 22 Aug 2003 07:15:16 GMT  
 ListView to ListView copying ???
You might want to have a look at the Virtual ListView demo at
http://www.mvps.org/vbvision/

HTH,
Bryan
____________________________________________________________
New Vision Software            "When the going gets weird,"
Bryan Stafford                   "the weird turn pro."

Microsoft MVP-Visual Basic     Fear and Loathing in LasVegas



Quote:
>No....unfortunately, the ListItems property is read-only. All I can suggest
>is looping through everything.

>--

>Sincerely,

>Josh Mitts



>> Anyone suggest a fast way of replicating the a report style ListView.
>> Currently Im looping on ListItems and ListSubItems, but as you can imagine
>> with 2000 items and 8 columns Im doing 18000 iterations. I know you can do
>a
>> similar thing with Lists and Combos using the API but I need a fast way
>> using the Listview.

>> TIA





Fri, 22 Aug 2003 13:45:58 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Copy all contents in a listview control to another listview control

2. Drag an item of Listview to another position of the same ListView

3. Ownerdraw works with ListView 5.0 but not with ListView 6.0

4. Dragging from ListView to ListView or TreeView

5. Listview vs. Extended Listview

6. Listview: synchronize two listviews

7. Ownerdraw works with ListView 5.0 but not with ListView 6.0 (in this sample)

8. Listview: check if an item in current listview

9. ListView column width = ListView width ?

10. changing the background of a listview item in the listview control

11. Listview Control - moving items from one listview to another

12. Listview: Determining ListView from ListItem????

 

 
Powered by phpBB® Forum Software