Virtual ListView: Item redraw

Arokh

Centurion
Joined
Apr 11, 2006
Messages
124
I'm trying to switch to a virtual listview, instead of a normal one,
since it can makes things alot easier/faster for me.

And I got it almost to work, but there is one thing which doesn't work:
If I change my array associated with the virtual listview,
I don't know how to update that specific ListViewItem.

To make it update I would have to scroll up/down until the item is out of sight and then scroll back.
Which is obviously not the best solution.
 
Ok found my error:

You have to use .RedrawItems but in VirtualMode you also have to update the cache or the old item is drawn again.
 
Back
Top