Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag&Drop from Windows Explorer
Message
 
To
03/09/2002 12:25:18
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00696275
Message ID:
00696284
Views:
12
>Is there a way to drag a file from Windows Explorer (or desktop), then drop it on a VFP control (i.e. a Grid control) so as to be able to get the filename (with complete path) to store it in a VFP table?
>Thank in advance.
>Bruno Maddalozzo

Hi Bruno,

See VFP Help about OLE Drag & Drop. This can be used to drag from/to Explorer, using the CF_FILES (aka CF_HDROP = 15) format. There's a Solutions Sample example entitled something like "OLE Drag and Drop Data Formats", which you would probably find very helpful.

Mike
Montage

"Free at last..."
Previous
Reply
Map
View

Click here to load this message in the networking platform