Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
DragDrop.SetDragImage
Sets the image to use for dragging.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
DragDrop | 11.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "DragDrop.SetDragImage"; droparea; image ) More
Parameters
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. |
Result
Returns OK or error.
Description
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!
Examples
Set the drag image:
Set Variable [ $result ; Value: MBS( "DragDrop.SetDragImage"; $$dropview; DragTest::DragImage) ]
See also
Release notes
- Version 11.0
- Added DragDrop.GetFilePathsToDrag, DragDrop.SetDragImage and DragDrop.SetFilePathsToDrag functions to allow drag from Drag & Drop control..
Blog Entries
- New in MBS FileMaker Plugin 11.0
- Neues MBS FileMaker Plugin 11.0
- MBS FileMaker Plugin 11.0 - More than 6400 Functions In One Plugin
- MBS FileMaker Plugin, version 10.6pr4
Created 17th December 2020, last changed 18th December 2020
DragDrop.SetDragExitHandler - DragDrop.SetFilePathsToDrag
Feedback: Report problem or ask question.

Links
MBS FileMaker tutorial videos