Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

NSDraggingInfoMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Drag & Drop MBS MacCocoa Plugin 13.1 Yes No No Yes, macOS only No
Function: The private constructor.

See also:

Feedback, Comments & Corrections

NSDraggingInfoMBS.Constructor(Handle as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Drag & Drop MBS MacCocoa Plugin 14.3 Yes No No Yes, macOS only No
Function: The constructor to build an NSDraggingInfo object with a handle.
Notes: Handle should be a Cocoa object reference implementing the NSDraggingInfo protocol.

See also:

Feedback, Comments & Corrections

NSDraggingInfoMBS.namesOfPromisedFilesDroppedAtDestination(dropDestination as Folderitem) as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Drag & Drop MBS MacCocoa Plugin 14.3 Yes No No Yes, macOS only No
Function: Sets the drop location for promised files and returns the names of the files that the receiver promises to create there.
Notes:
dropDestination: A folderitem specifying the drop location for promised files.

Return an array of file names, which are not full paths.

Drag destinations should invoke this method within their performDragOperation method. The source may or may not have created the files by the time this method returns.

Feedback, Comments & Corrections

NSDraggingInfoMBS.promisedFilesDroppedAtDestination(dropDestination as FolderItem) as FolderItem()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Drag & Drop MBS MacCocoa Plugin 14.3 Yes No No Yes, macOS only No
Function: Sets the drop location for promised files and returns the files that the receiver promises to create there.
Notes:
dropDestination: A folderitem specifying the drop location for promised files.

Return an array of folderitems for the files.
The files may not yet exist.

Drag destinations should invoke this method within their performDragOperation method. The source may or may not have created the files by the time this method returns.

Feedback, Comments & Corrections

NSDraggingInfoMBS.slideDraggedImageTo(screenPoint as NSPointMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Drag & Drop MBS MacCocoa Plugin 13.1 Yes No No Yes, macOS only No
Function: Slides the image to a specified location.
Notes:
screenPoint: A point that specifies a location in the screen coordinate system.

This method can be used to adjust the location to which the dragged image will slide back if the drag is rejected.
It should only be invoked from within the destination's implementation of prepareForDragOperation, and will only have effect if the destination rejects the drag.
This method is invoked after the user has released the image but before it is removed from the screen.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins