LassoComponent and beginAutoDragRepeat


In windows explorer you can make a lasso selection and it does autodragrepeat if need. However I don’t see that LassoComponent has any method to support this (the lasso starting point is always the same point). Is there any easy method to achieve this without hacking?


After your initial drag your SelectedItemSet will be populated with the selected items. Usually a left mouse-down click over nothing will trigger a deselect of the selected items. You can put in a test on mouse-down to see if the user has pressed “Ctrl” with the click. If so don’t deselect anything and add the newly selected items to those already contained in your SelectedItemSet. I think this will work, and should be very easy to implement?