Is it possible, using VFP to drag files from a source outside the application (i.e. from a directory in an explorer Window) onto a control in VFP, which then saves that file to a new directory (we've coverd that already, so I have that code).
I'll keep it simple for the start, pick one file, drag it to a "target" drop it, and then a "new record" is created in the "DOCUMENTS" table, updates the table with file name and path (though the path is a destination we've saved the dragged (copied) file to).
I have set up an Image class file to use as a "Target". The default is an image that is literally a red target. When you drag the file onto it and drop it, the target turns green then, to let you know you can drop it there (visual cue).
But I can't seem to get OLE to even recognize I'm dragging an item over it to be dropped there.
If this is possible, then the next step would be to enable "multiple file drop" so you pick, say 8 files at once, and drop them on the target. I assume that's just an array of files that we then process making a new record for each one in the table until we have processed all the files.
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
I'll keep it simple for the start, pick one file, drag it to a "target" drop it, and then a "new record" is created in the "DOCUMENTS" table, updates the table with file name and path (though the path is a destination we've saved the dragged (copied) file to).
I have set up an Image class file to use as a "Target". The default is an image that is literally a red target. When you drag the file onto it and drop it, the target turns green then, to let you know you can drop it there (visual cue).
But I can't seem to get OLE to even recognize I'm dragging an item over it to be dropped there.
If this is possible, then the next step would be to enable "multiple file drop" so you pick, say 8 files at once, and drop them on the target. I assume that's just an array of files that we then process making a new record for each one in the table until we have processed all the files.
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."