Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSViewControlMBS.mouseDown(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.mouseDownCanMoveWindow as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: This event is called so you can decide what happens with mouse down.
Notes:
Return true if you do not need to handle a mouse down and it can pass through to superviews; False if you need to handle the mouse down.

This allows iApp-type applications to determine the region by which a window can be moved. By default, this method returns false if the view is opaque; otherwise, it returns true. Subclasses can override this method to return a different value.
NSViewControlMBS.mouseDragged(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.mouseEntered(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.mouseExited(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.mouseMoved(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.mouseUp(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.Open
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: The control is about to was created and you can initialize it.
NSViewControlMBS.Opened
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: The event called when the custom NSView is created.
Notes: Renamed to Opened in plugin version 20.5. Used to be named Open.
NSViewControlMBS.otherMouseDown(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes:
Return true if you handled this event.
Third mouse button.
NSViewControlMBS.otherMouseDragged(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes:
Return true if you handled this event.
Third mouse button.
NSViewControlMBS.otherMouseUp(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes:
Return true if you handled this event.
Third mouse button.
NSViewControlMBS.performDragOperation(sender as NSDraggingInfoMBS) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: Invoked after the released image has been removed from the screen, signaling the receiver to import the pasteboard data.
Notes:
sender: The object sending the message; use it to get details about the dragging operation.

Return if the destination accepts the data, it returns true; otherwise it returns false. The default is to return false.

For this method to be invoked, the previous prepareForDragOperation message must have returned true. The destination should implement this method to do the real work of importing the pasteboard data represented by the image.

If the sender object's animatesToDestination was set to true in prepareForDragOperation, then setup any animation to arrange space for the drag items to animate to. Also at this time, enumerate through the dragging items to set their destination frames and destination images.
NSViewControlMBS.prepareForDragOperation(sender as NSDraggingInfoMBS) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: Invoked when the image is released, allowing the receiver to agree to or refuse drag operation.
Notes:
sender: The object sending the message; use it to get details about the dragging operation.
Returns true if the receiver agrees to perform the drag operation and false if not.
This method is invoked only if the most recent draggingEntered or draggingUpdated message returned an acceptable drag-operation value.
If you want the drag items to animate from their current location on screen to their final location in your view, set the sender object's animatesToDestination property to true in your implementation of this method.
NSViewControlMBS.pressureChange(e as NSEventMBS) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No
Function: Informs the current object that a pressure change occurred on a system that supports pressure sensitivity.
Notes:
This method is invoked automatically in response to user actions. event is the event that initiated the change in pressure.
Available in OS X v10.10.3 and later.
NSViewControlMBS.resignFirstResponder as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: Focus is going away.
Notes: Return true to accept.
NSViewControlMBS.rightMouseDown(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.rightMouseDragged(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.rightMouseUp(e as NSEventMBS, x as Double, y as Double) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No
Function: One of the mouse events.
Notes: Return true if you handled this event.
NSViewControlMBS.rotateWithEvent(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
Function: Informs the receiver that the user has begun a rotation gesture.
Notes:
e: An event object representing the rotate 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.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
Function: The backing store scale factor has changed.
Notes: 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
Function: Informs the subclass that the mouse's scroll wheel has moved.
Notes:
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
Function: Informs the receiver that the user has begun a swipe gesture.
Notes:
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
Function: Invoked when the dragging images should be changed.
Notes:
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
Function: Informs the receiver that it has been added to a new view hierarchy.
Notes:
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
Function: Asks the destination object whether it wants to receive periodic draggingUpdated messages.
Notes:
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.

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat