Platforms to show: All Mac Windows Linux Cross-Platform

CustomNSViewMBS.acceptsFirstResponder as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Whether to accept first responder.
Notes: Return true if your control can have the focus and false if not.
CustomNSViewMBS.becomeFirstResponder as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Called when the object gets focus.
Notes: Return true to accept.
CustomNSViewMBS.beginGestureWithEvent(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 10.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Informs the receiver that the user has begun a touch gesture.
Notes:
e: An event object representing the gesture beginning.
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.
class CustomNSViewMBS
class, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The class for a custom NSView.
Notes: Subclass of the NSViewMBS class.
CustomNSViewMBS.Close
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The event called when the custom NSView is destroyed.
CustomNSViewMBS.Constructor
method, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The dummy constructor doing nothing.

See also:

CustomNSViewMBS.Constructor(left as double, top as double, width as double, height as double)
method, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The constructor for a new custom NSView object.

See also:

CustomNSViewMBS.DrawRect(g as NSGraphicsMBS, left as double, top as double, width as double, height as double)
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The paint event with the rectangle which needs to be redrawn.
CustomNSViewMBS.endGestureWithEvent(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 10.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Informs the receiver that the user has ended a touch gesture.
Notes:
e: An event object representing the gesture end.
Available in Mac OS X v10.6 and later.
Return true if you handled this event.
CustomNSViewMBS.isOpaque as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Whether this view is opaque.
CustomNSViewMBS.keyDown(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the key events.
Notes: Return true if you handled this event.
CustomNSViewMBS.keyUp(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the key events.
Notes: Return true if you handled this event.
CustomNSViewMBS.magnifyWithEvent(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 10.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Informs the receiver that the user has begun a pinch gesture.
Notes:
e: An event object representing the magnify 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.
CustomNSViewMBS.mouseDown(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.mouseDragged(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.mouseEntered(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.mouseExited(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.mouseMoved(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.mouseUp(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.Open
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The event called when the custom NSView is created.
CustomNSViewMBS.otherMouseDown(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes:
Return true if you handled this event.
Third mouse button.
CustomNSViewMBS.otherMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes:
Return true if you handled this event.
Third mouse button.
CustomNSViewMBS.otherMouseUp(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes:
Return true if you handled this event.
Third mouse button.
CustomNSViewMBS.resignFirstResponder as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Focus is going away.
Notes: Return true to accept.
CustomNSViewMBS.rightMouseDown(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.rightMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.rightMouseUp(e as NSEventMBS, x as double, y as double) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: One of the mouse events.
Notes: Return true if you handled this event.
CustomNSViewMBS.rotateWithEvent(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 10.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

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.
CustomNSViewMBS.swipeWithEvent(e as NSEventMBS) as boolean
event, Cocoa, MBS REALbasic Cocoa Plugin (CustomNSView), class CustomNSViewMBS, Plugin version: 10.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

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.

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




Links
MBS REAL studio Plugins - Nachhilfe in Eich