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

NSDraggingInfoMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Drag & Drop MBS MacCocoa Plugin 13.1 Yes No No Yes, macOS only No
Function: The NSDraggingInfo protocol declares methods that supply information about a dragging session.
Notes: NSDraggingInfo protocol methods are designed to be invoked from within a class's implementation of NSDraggingDestination protocol methods. The Application Kit automatically passes an object that conforms to the NSDraggingInfo protocol as the argument to each of the methods defined by NSDraggingDestination. NSDraggingInfo messages should be sent to this object; you never need to create a class that implements the NSDraggingInfo protocol.

Feedback, Comments & Corrections

Visual Format Constants

Constant Value Description
NSDraggingFormationDefault 0 The system determined formation.
Available in OS X v10.7 and later.
NSDraggingFormationList 3 Drag images are laid out vertically, non-overlapping with the left edges aligned.
Available in OS X v10.7 and later.
NSDraggingFormationNone 1 Drag images maintain their set positions relative to each other/
Available in OS X v10.7 and later.
NSDraggingFormationPile 2 Drag images are placed on top of each other with random rotations.
Available in OS X v10.7 and later.
NSDraggingFormationStack 4 Drag images are laid out overlapping diagonally.
Available in OS X v10.7 and later.

Drag Operations Constants

Constant Value Description
NSDragOperationAll_Obsolete 15 The NSDragOperationAll constant is deprecated. Use NSDragOperationEvery instead.
NSDragOperationCopy 1 The data represented by the image can be copied.
NSDragOperationDelete 32 The data can be deleted.
NSDragOperationEvery -1 All of the above.
NSDragOperationGeneric 4 The operation can be defined by the destination.
NSDragOperationLink 2
NSDragOperationMove 16 The data can be moved.
NSDragOperationNone 0 No drag operations are allowed.
NSDragOperationPrivate 8 The operation is negotiated privately between the source and the destination.

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:

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

NSDraggingImageComponentMBS   -   NSDraggingItemMBS

MBS FileMaker tutorial videos