Platforms to show: All Mac Windows Linux Cross-Platform

SetNextDragImageMBS(Img as NSImageMBS, DragItemCount as Integer = 1)

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Drag & Drop MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets which image to use for next drag.

Once image has been replaced for Xojo's drag, the image reference is freed by plugin.

Please call setSize on the NSImageMBS to set the size to use.
e.g. half the pixels, so the picture is sharp on a retina screen.

Added DragItemCount parameter for version 23.0 to define how many drag items you have, so all can get the new picture.

Some examples using this global method:

Blog Entries

The items on this page are in the following plugins: MBS MacControls Plugin.


The biggest plugin in space...