Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the image to use for dragging.

Component Version macOS Windows Linux Server iOS SDK
DragDrop 11.0 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "DragDrop.SetDragImage"; droparea; image )   More


Parameter Description Example
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
image the image to use.
For best results, pass a container value with a PNG image.


Returns OK or error.


Sets the image to use for dragging.
This image represents the content of the drag operation.
If none is set, we use the image shown in the container.

On Windows the image is only shown if the underlaying software supports it. That means it won't show if over some of the FileMaker controls!


Set the drag image:

Set Variable [ $result ; Value: MBS( "DragDrop.SetDragImage"; $$dropview; DragTest::DragImage) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 17th December 2020, last changed 18th December 2020

DragDrop.SetDragExitHandler - DragDrop.SetFilePathsToDrag