I’m working with a TListView which has drag/drop capabilities to drag one or multiple items into one other item, as a form of merging. When you drag an item to the top or bottom of the control, I need it to automatically scroll up or down but it doesn’t. The same applies for scrolling right or left in certain view styles. How can I make it automatically scroll in the direction the user’s dragging the item?
PS: I have VCL Themes enabled as well
Did not test much, but the below try enables a timer when an item is dragged outside the control over its parent (in the case of the example, the form), and the timer event tests the cursor position to find out if a scroll message should be send to the listview.
If it works Ok, you can incorporate horizontal scrolling too.