Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSResponderMBS class.

Previous items Next items

NSResponderMBS.otherMouseDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed a mouse button other than the left or right one.

The default implementation simply passes this message to the next responder.
Available in Mac OS X v10.1 and later.

NSResponderMBS.otherMouseDragged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has moved the mouse with a button other than the left or right button pressed.

The default implementation simply passes this message to the next responder.
Available in Mac OS X v10.1 and later.

NSResponderMBS.otherMouseUp(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has released a mouse button other than the left or right button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.pageDown

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver down (or back) one page in its scroll view, also moving the insertion point to the top of the newly displayed page.

NSResponder declares but doesn't implement this method.

NSResponderMBS.pageDownAndModifySelection

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver down (or back) one page in its scroll view, also moving the insertion point to the top of the newly displayed page. The selection is expanded or contracted as required.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.pageUp

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver up (or forward) one page in its scroll view, also moving the insertion point to the top of the newly displayed page.

NSResponder declares but doesn't implement this method.

NSResponderMBS.pageUpAndModifySelection

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver up (or forward) one page in its scroll view, also moving the insertion point to the top of the newly displayed page. The selection is expanded or contracted as necessary.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.performMnemonic(theString as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Overridden by subclasses to handle a mnemonic.

If the character code or codes in theString match the receiver's mnemonic, the receiver should perform the mnemonic and return true. The default implementation does nothing and returns false. Mnemonics are not supported in Mac OS X.

NSResponderMBS.presentError(e as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Presents an error alert to the user as an application-modal dialog.

e: An object containing information about an error.

The alert displays information found in the NSError object e; this information can include error description, recovery suggestion, failure reason, and button titles (all localized). The method returns true if error recovery succeeded and false otherwise. For error recovery to be attempted, an recovery-attempter object (that is, an object conforming to the NSErrorRecoveryAttempting informal protocol) must be associated with e.

The default implementation of this method sends willPresentError to self. By doing this, NSResponder gives subclasses an opportunity to customize error presentation. It then forwards the message, passing any customized error object, to the next responder; if there is no next responder, it passes the error object to NSApp, which displays a document-modal error alert. When the user dismisses the alert, any recovery attempter associated with the error object is given a chance to recover from the error. See the class description for the precise route up the responder chain (plus document and controller objects) this message might travel.

Available in OS X v10.4 and later.

NSResponderMBS.rightMouseDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed the right mouse button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.rightMouseDragged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has moved the mouse with the right button pressed.

The default implementation simply passes this message to the next responder.

NSResponderMBS.rightMouseUp(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has released the right mouse button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.rotateWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has begun a rotation 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.

NSResponderMBS.scrollLineDown

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver one line down in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollLineUp

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver one line up in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollPageDown

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver one page down in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollPageUp

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver one page up in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollToBeginningOfDocument

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver to the beginning of the document, without changing the selection.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.scrollToEndOfDocument

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver to the end of the document, without changing the selection.

NSResponder declares but doesn't implement this method.

Available in Mac OS X v10.6 and later.

NSResponderMBS.scrollWheel(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the mouse's scroll wheel has moved.

The default implementation simply passes this message to the next responder.
Available in Mac OS X v10.0 and later.

NSResponderMBS.selectAll

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to select all selectable elements.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectLine

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to select all elements in the line or lines containing the selection or insertion point.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectParagraph

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to select all paragraphs containing the selection or insertion point.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectToMark

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to select all items from the insertion point or selection to a previously placed mark, including the selection itself if not empty.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectWord

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to extend the selection to the nearest word boundaries outside it (up to, but not including, word delimiters).

NSResponder declares but doesn't implement this method.

NSResponderMBS.setMark

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to set a mark at the insertion point or selection, which is used by deleteToMark and selectToMark.

NSResponder declares but doesn't implement this method.

NSResponderMBS.showContextHelp

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to invoke the help system, displaying information relevant to the receiver and its current state.

NSResponderMBS.swapWithMark

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Swaps the mark and the selection or insertion point, so that what was marked is now the selection or insertion point, and what was the insertion point or selection is now the mark.

NSResponder declares but doesn't implement this method.

NSResponderMBS.swipeWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has begun a rotation 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.

NSResponderMBS.tabletPoint(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that a tablet-point event has occurred.

Tablet events are represented by NSEvent objects of type NSTabletPoint. They describe the current state of a transducer (that is, a pointing device) that is in proximity to its tablet, reflecting changes such as location, pressure, tilt, and rotation. See the NSEvent reference for the methods that allow you to extract this and other information from theEvent. The default implementation of NSResponder passes the message to the next responder.
Available in Mac OS X v10.4 or later.

Previous items Next items

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


💬 Ask a question or report a problem
The biggest plugin in space...