Re: Drag & drop a file - what am I missing?

2019-06-21 Thread Jeremy French via 4D_Tech
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 Put the following in the object method of a text variable and

Re: Drag & drop a file - what am I missing?

2019-06-21 Thread Chip Scheide via 4D_Tech
Pat, not using v17 - but yes. I have never tried picture dropping, but I was unable to get Drag N drop to function to a field. I work around this (and it makes the target easier for the user) by using an invisible button which covers a section of the screen so that the user can drag n drop any

Drag & drop a file - what am I missing?

2019-06-21 Thread Pat Bensky via 4D_Tech
Using v17 - Until now I've implemented drag & drop between objects, for example list boxes. No problem. But now I want to allow the user to drop a file onto a field and save the file's pathname in the field. I cannot get this to work and indeed the docs imply that this should only work with variab