David P 6 Posted September 10 I have a TListView in Report virtual mode that is the target of a dragdrop operation. Moving my cursor over the listview, highlights the item under the cursor (HotTrack=false). When I drag an item over the list view, DragOver is fired and I'm able to set Accept=true. The problem is that only the initial item dragged over gets highlighted, OnlvItemsCustomDrawItem does not get called for other items when the mouse passes over them. If I drag back over the original item, it does trigger OnItemsCustomDrawItem. Has anyone been able to work around this? I think I asked this years ago and Remy answered saying it was a bug, but my search has not found original question. Share this post Link to post
Anders Melander 2127 Posted September 10 There are so many bugs and limitations in TListView (the Windows control, not the VCL wrapper) that I have found that as soon as I spend more than 10 minutes trying to work around something in it, it's often a better idea to replace it with something else. Just yesterday I needed the first column in a listview right-aligned; Forgetaboutit - and out it went. Share this post Link to post