sDrop - Multiple file drop status
in
Contributed Library Questions
•
1 year ago
Hey all,
I am using the sDrop library. It works well, and even allows for multiple files to be dragged and dropped at once.
One problem: sDrop sends a 'drop event' for each individual file dropped, even when multiple files are dropped at once. I can count these drops with a simple counter every time a dropEvent occurs, and put each the file information into an array.
However, I'm struggling with how to determine when the last file is finished being dropped. In my program, I would like an action to occur once all files in the group have been dropped.
I thought of using the dropComplete to determine status of the drop, but it seems that it refers to the completion of the drop for each individual file in the group.
Does anybody know how to determine when a grouped drop is complete?
1