I want to be able to drag a picture from the desktop and drop it onto a 4D Write Pro document and have the On Drop event trigger so I can prompt the user as to what layer (inline with text, anchored behind text or anchored in front of text) the picture should be placed.
I’ve found that drag and drop in 4D Write Pro only works if the “Automatic Drop” Action checkbox is checked. That is fine and dragging a picture from the desktop and dropping onto the 4D Write Pro document will insert the picture inline with the text at the insertion point selected when dropped. However, the On Drop form event is not triggered (nor is On Begin Drag Over) when “Automatic Drop” action checkbox is checked. I need to have the “Automatic Drop” and "Automatic Drag” Action checkboxes checked because I want ‘normal’ drag and drop in the 4D Write document to continue to work. Can I have my cake and eat it too? Have I missed something important? If not, we will need to train users how to use the 4D Write Pro Contextual Menu to change the picture layer, but a lot of users don’t know to right-click. Alternatively, we can continue to use a picture variable on the form which accepts the drop of the picture. A little clunky, but users are familiar with it. BTW, the 4D Demo database https://blog.4d.com/insert-pictures-4d-write-pro/ <https://blog.4d.com/insert-pictures-4d-write-pro/> was very helpful in digging through the details pertaining to this issue. Thanks for any comments. Tom Benedict ********************************************************************** 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] **********************************************************************

