How can I process several folderitems dropped simultaneously over an ImageWell?

Hello ,

If I select several folderitems in a folder and drop them simultaneously over an ImageWell, how do I process them?

e.g.
If item is x do something
elseIf item is y do something else

else
msgbox "cannot do anything with that item
end if

Thanks.

Lennox

Use Obj.NextItem
http://documentation.xojo.com/index.php/DragItem

Thanks Michel,

And for the benefit of others, an example can be found here (Thanks Tim.)…
https://forum.xojo.com/5614-drag-drop-multiple-files/0#p39941

Thanks Tim.

Lennox