Hi Pat,

Take a look at the documentation for "Get file from pasteboard” at:
https://doc.4d.com/4Dv17/4D/17.2/Get-file-from-pasteboard.301-4387094.en.html 
<https://doc.4d.com/4Dv17/4D/17.2/Get-file-from-pasteboard.301-4387094.en.html>

Put the following in the object method of a text variable and drag a file atop 
the text variable. Remember to check-mark the “On Drop” form event.
—
Case of 
    : (Form event=On Drop)
        
        OBJECT Get pointer(Object current)->:=Get file from pasteboard(1)
        
End case 
—
The text object will display the file’s absolute path.


Best regards,
- Jeremy

> On Jun 21, 2019, at 4:16 PM, Pat Bensky via 4D_Tech <[email protected]> 
> wrote:
> 
>  I want to allow the user to drop a file onto a field and save the
> file's pathname in the field.

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to