Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21256

Selective dragdrop in listviews

$
0
0
I have 2 listviews (both in lvwReport view) with a number of main (text) items each -but no subitems.

Some items are exactly the same in either LV while others are similar but slightly different. I use gray and black respectively for their forecolor property.

I want to allow the user to manually pair unmatched (black) elements by dragging and dropping from one list on to the corresponding (most similar) item of the other. But the gray elements -already paired- must not be allowed to be dragged & dropped. How can I do that?

Actually, if it were easier to implement on them, I might settle for listboxes rather than listviews.

Viewing all articles
Browse latest Browse all 21256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>