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 anywhere in that area, rather then just on the 
(small?) field.

You can easily place the path into the desired text field after 
validating the drop.
 
Chip
On Fri, 21 Jun 2019 21:16:49 +0100, Pat Bensky via 4D_Tech wrote:
> 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 variables and objects:
> 
> "For example, it is possible to drag and drop a PNG picture file onto a 4D
> picture field. It is also possible to select text in a word processing
> application and drop it onto a 4D text variable or a list box."
> 
> So you can drop a picture onto a picture FIELD but any other type of file
> (eg .txt) only onto a variable?
> 
> Pat
> -- 
> *************************************************
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *************************************************
> **********************************************************************
> 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]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
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