OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: honkinberry on June 28, 2018, 04:19:45 PM

Title: ListView Multi-select Drag/Drop limitation
Post by: honkinberry on June 28, 2018, 04:19:45 PM
I have a ListView that is set to Multiple Selection, and Drag/Drop Allow Begin, but if multiple items are selected when beginning the drag, the selection changes to just one item being selected.  I'd like to drag the entire selection.
Any thoughts on if it's something that be addressed?

Thanks!

--J
Title: Re: ListView Multi-select Drag/Drop limitation
Post by: Fred Tomke on October 23, 2018, 12:48:49 PM
Quote from: honkinberry on June 28, 2018, 04:19:45 PM
I have a ListView that is set to Multiple Selection, and Drag/Drop Allow Begin, but if multiple items are selected when beginning the drag, the selection changes to just one item being selected.  I'd like to drag the entire selection.
Any thoughts on if it's something that be addressed?

Thanks!

--J

Yeah, welcome to hell: I've fighten with the same. I needed

In the end I used OnMouseMove to store the current selection.
Note that the events are fired in a fixed order. So you can build on it.
That means when OnMouseMove is fired right before DragBegin, you choose the previously stored selection.
But you have to figure out the order with commandline prints.

Hope that helps,
Fred