Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSViewControlMBS control.

Previous items

NSViewControlMBS.ScaleFactorChanged(NewFactor as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No
The backing store scale factor has changed.

Please invalidate any cached bitmaps or other relevant state.

NSViewControlMBS.scrollWheel(e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Informs the subclass that the mouse's scroll wheel has moved.

e: An object encapsulating information about the wheel-scrolling event.

The default implementation simply passes this message to the next responder.
Return true to not pass the event.

NSViewControlMBS.swipeWithEvent(e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user has begun a swipe gesture.

e: An event object representing the swipe gesture.
The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.
Return true if you handled this event.

NSViewControlMBS.updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the dragging images should be changed.

sender: The object sending the message; use this object to get details about the dragging operation.

While a destination may change the dragging images at any time, it is recommended to wait until this method is called before updating the dragging images.

This allows the system to delay changing the dragging images until it is likely that the user will drop on this destination. Otherwise, the dragging images will change too often during the drag which would be distracting to the user.

NSViewControlMBS.viewDidMoveToWindow

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that it has been added to a new view hierarchy.

The default implementation does nothing; subclasses can implement this event to perform whatever actions are necessary.

window may return nil when this method is invoked, indicating that the receiver does not currently reside in any window. This occurs when the receiver has just been removed from its superview or when the receiver has just been added to a superview that does not itself have a window. Overrides of this method may choose to ignore such cases if they are not of interest.

NSViewControlMBS.wantsPeriodicDraggingUpdates as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Asks the destination object whether it wants to receive periodic draggingUpdated messages.

Return true if the destination wants to receive periodic draggingUpdated messages, false otherwise.

If the destination returns false, these messages are sent only when the mouse moves or a modifier flag changes. Otherwise the destination gets the default behavior, where it receives periodic dragging-updated messages even if nothing changes.

Previous items

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


The biggest plugin in space...