DragItem.FolderItem

From Xojo Documentation

Property (As FolderItem )
aDragItem.FolderItem = newFolderItemValue
or
FolderItemValue = aDragItem.FolderItem

Supported for all project types and targets.

The FolderItem being dragged.

Sample Code

The following DropObject event specifies the passed FolderItem as the object to be dropped.

If obj.PictureAvailable Then
Me.Image = obj.Picture
ElseIf obj.FolderItemAvailable Then
Me.Image = Picture.Open(obj.FolderItem)
End If