Re: v17.4 source Stand-alone and Remote: picture drop onto a picture field in an input form

2019-06-13 Thread Keisuke Miyako via 4D_Tech
I am unaware of any changes starting with v17 (I presume R4)

but in general, the way to process drag and drop over a picture is:

On After Edit: accept native drop or paste.
On Drop: accept custom drag and drop. $0 must be assigned 0 in On Drag Over.
On Drag Over: check if Pasteboard data size is not negative
On Begin Drag Over: append custom data to pasteboard (start custom drag and 
drop)

---

I recall there were some special refactoring in 17 R4 to support the 10.12 to 
10.14 range on Mac.
but the implementation should be transparent to the 4D language.

> 2019/06/14 6:06、David Ringsmuth via 4D_Tech <4d_tech@lists.4d.com>のメール:
>
> I know some things have changed with v17.4 drag and drop.
>
> When I enable a form picture object to accept drop, and I trace the “on drop” 
> database method, nothing happens in the form, object method or on-drop 
> database method.




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v17.4 source Stand-alone and Remote: picture drop onto a picture field in an input form

2019-06-13 Thread David Ringsmuth via 4D_Tech
I know some things have changed with v17.4 drag and drop.

When I enable a form picture object to accept drop, and I trace the “on drop” 
database method, nothing happens in the form, object method or on-drop database 
method.

Suggestions please!

David Ringsmuth

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**