Dragging more than one file at once seems to generate just the one DropObject event. So it’s not possible as far as I can see to drop many files and handle them all either in one event or many.
Is this an inherent limitation?
Dragging more than one file at once seems to generate just the one DropObject event. So it’s not possible as far as I can see to drop many files and handle them all either in one event or many.
Is this an inherent limitation?
Have you seen DragItem.NextItem ?
Keep calling that until its False and it updates the obj in DropObject to the next item each time you check it and its True.
i.e.
Sub DropObject(obj As DragItem, action As Integer) Handles DropObject
Do
system.DebugLog(obj.FolderItem.name)
Loop Until obj.NextItem = False
End Sub
I have now - thanks! After making it all work with one file I went away and meditated over a cup of tea, and decided there had to be a way, and was just going to investigate that very thing.