Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

NSDraggingImageComponentMBS.Constructor(key as string)
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: Initializes a dragging image component with the specified key.
Notes:
key: The key.
Available in OS X v10.7 and later.

Feedback, Comments & Corrections

NSDraggingImageComponentMBS.contents as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS MacCocoa Plugin 13.1 Yes No No Yes, macOS only No
Function: An object providing the image contents of the component.
Notes:
Typically you set an NSImage instance as content.
Available in OS X v10.7 and later.
(Read and Write computed property)

Feedback, Comments & Corrections

NSDraggingImageComponentMBS.frame as NSRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS MacCocoa Plugin 13.1 Yes No No Yes, macOS only No
Function: The coordinate space is the bounds of the parent dragging item.
Notes:
The frame is {{0,0}, {draggingFrame.size.width, draggingFrame.size.height}}.

The coordinate space is the bounds of the parent NSDraggingItem instance's draggingFrame.
Available in OS X v10.7 and later.
(Read and Write computed property)

Feedback, Comments & Corrections

NSDraggingImageComponentMBS.key as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Drag & Drop MBS MacCocoa Plugin 13.1 Yes No No Yes, macOS only No
Function: The unique name of this image component instance.
Notes:
The key must be unique for each component in an NSDraggingItem instance. You can create your own named components, however the keys described in NSDragImage Component Keys have special meanings.

When an NSDraggingItem instances imageComponents are changed by one of the enumerateDraggingItemsWithOptions methods the image associated with this key is morphed into the new image component's image associated with the same key.

Available in OS X v10.7 and later.
(Read and Write computed property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Plugins