Drag and Drop not working in FlowLayoutPanel

0
0

I am trying to do a drag and drop into a FlowLayoutPanel component.  After setting up the AllowDrop to true, it gets to DragEnter event, I changed the e.Effect = All.   Now in DragOver (not sure why the DragDrop Event is not fired) I read the e.Data like this:

Dim files = e.Data.GetData(DataFormats.FileDrop)

For Each file In files
Dim s = file
Next

But I noticed that file = “application/pdf” instead of reading the full filename of my dropped PDF file.

Thank in advance.  Robert

 

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.