Re: Drag from outside of 4D into a 4D Form

2018-06-04 Thread Chip Scheide via 4D_Tech
Jody, some code snippets in the OBJECT method (of the object(s) where the drag and drop will be allowed) on Drag Over event has to return a Zero to accept or -1 to reject the drag over. On drop does the actual processing, I have always combined these to actions into one method, passing the curr

Re: Drag from outside of 4D into a 4D Form

2018-06-04 Thread Milan Adamov via 4D_Tech
> On Jun 4, 2018, at 5:32 PM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I thought it would be good for an Import to let people drag a file from the > desktop onto a form. It certainly is not a critical feature, the old style > select from a file dialog works good for me. > >

Drag from outside of 4D into a 4D Form

2018-06-04 Thread Jody Bevan via 4D_Tech
I thought it would be good for an Import to let people drag a file from the desktop onto a form. It certainly is not a critical feature, the old style select from a file dialog works good for me. I was looking for an example database, or tech note but could not find one. The Drag and Drop Prope