Platforms to show: All Mac Windows Linux Cross-Platform
Back to CustomNSSearchFieldMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
CustomNSSearchFieldMBS.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 MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true if you handled this event.
Third mouse button.
CustomNSSearchFieldMBS.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 MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true if you handled this event.
Third mouse button.
CustomNSSearchFieldMBS.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 MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true if you handled this event.
Third mouse button.
CustomNSSearchFieldMBS.performDragOperation(sender as NSDraggingInfoMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.prepareForDragOperation(sender as NSDraggingInfoMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.pressureChange(e as NSEventMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 15.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.resignFirstResponder as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true to accept.
CustomNSSearchFieldMBS.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 MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true if you handled this event.
CustomNSSearchFieldMBS.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 MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true if you handled this event.
CustomNSSearchFieldMBS.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 MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return true if you handled this event.
CustomNSSearchFieldMBS.rotateWithEvent(e as NSEventMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.scrollWheel(e as NSEventMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.swipeWithEvent(e as NSEventMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.viewDidMoveToWindow
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
CustomNSSearchFieldMBS.wantsPeriodicDraggingUpdates as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
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.
The items on this page are in the following plugins: MBS MacCocoa Plugin.