Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

InstallDragImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Drag & Drop MBS MacExtras Plugin 15.1 Yes No No No No
Function: Install drag image patch.
Notes:
This allows you to use retina NSImage for drag image with using Xojo's built in drag and drop classes.
So call InstallDragImageMBS once in app.open to initialize.

Than before call DragItem.Drag, call SetNextDragImageMBS and provide a 2x image as NSImageMBS object.
See example project for details.

Some examples using this method:

Feedback, Comments & Corrections

SetNextDragImageMBS(Img as NSImageMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Drag & Drop MBS MacExtras Plugin 15.1 Yes No No No No
Function: Sets which image to use for next drag.
Notes: Once image has been replaced for Xojo's drag, the image reference is freed by plugin.

Some examples using this method:

Feedback, Comments & Corrections

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




Links
MBS Xojo PDF Plugins