landrix / The-Drag-and-Drop-Component-Suite-for-Delphi

MIT License
161 stars 57 forks source link

How get Source directory with Delphi? #35

Closed alefsoft1 closed 4 years ago

alefsoft1 commented 5 years ago

How to get the source path with this component suite? For example: I dropped file (virtual file) from my app to the desktop. I only need then source path i.e: Desktop. How to get this path before call DropFileSource1.Execute? Here is my code on ListView1MouseDown procedure: ipwFTP1.LocalFile :=source path+'salam.txt';

landrix commented 4 years ago

i think, it is not possible to detect, what the target application do with your dragged object.

https://stackoverflow.com/questions/16941088/how-to-detect-target-when-i-drag-from-qt-application-and-drop-to-windows-explore