The TextField control does not have a DropObject event.
But I need a way to handle a file that the user drops onto a TextField.
I need the FolderItem of the file that will be dropped.
Any pointers how this can be achieved?
The TextField control does not have a DropObject event.
But I need a way to handle a file that the user drops onto a TextField.
I need the FolderItem of the file that will be dropped.
Any pointers how this can be achieved?
Yes it does.
in the open event of the textfield:
Me.AcceptFileDrop(FileTypes1.Any)
in the dropobject event:
If Obj.FolderItemAvailable Then
msgbox obj.FolderItem.displayname
end if
Oh boy … I need some sleep. It does have a DropObject event. Didn’t scroll upwards in the list.
Get some rest man, “Sleep More, code better”.