Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSViewMBS.nextKeyView as NSViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 13.2 Yes No No Yes, macOS only No
Function: The view object following the receiver in the key view loop.
Notes:
Returns the view object following the receiver in the key view loop, or nil if there is none.
On setting inserts a specified view object after the receiver in the key view loop of the receiver's window.
This view should, if possible, be made first responder when the user navigates forward from the receiver using keyboard interface control.
Returns nil on any error.
(Read and Write property)

Feedback, Comments & Corrections

NSViewMBS.opaqueAncestor as NSViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the receiver's closest opaque ancestor (including the receiver itself).
Notes: (Read only property)

Feedback, Comments & Corrections

NSViewMBS.RetainCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 14.2 Yes No No Yes, macOS only No
Function: The retain count for the NSView object.
Notes:
Useful for debugging. Should always be > 0.
(Read only property)

Feedback, Comments & Corrections

NSViewMBS.superview as NSViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 7.7 Yes No No Yes, macOS only No
Function: Returns the receiver's superview, or nil if it has none.
Notes: (Read only property)

Feedback, Comments & Corrections

NSViewMBS.toolTip as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 7.7 Yes No No Yes, macOS only No
Function: The tooltip text for this view.
Example:
dim n as new NSProgressIndicatorMBS
n.toolTip = "Hello"
MsgBox n.toolTip
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSViewMBS.visibleRect as NSRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the portion of the receiver not clipped by its superviews.
Notes:
Visibility for this method is defined quite simply and doesn't account for whether other NSView objects (or windows) overlap the receiver or whether the receiver has a window at all. This method returns an empty rectangle if the receiver is effectively hidden.

During a printing operation the visible rectangle is further clipped to the page being imaged.
(Read only property)

Feedback, Comments & Corrections

NSViewMBS.wantsDefaultClipping as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns whether the Application Kit's default clipping provided to drawRect implementations is in effect.
Notes:
Subclasses may override this method to return false if they want to suppress the default clipping. They may want to do this in situations where drawing performance is critical to avoid the cost of setting up, enforcing, and cleaning up the clip path

A view that overrides this method to refuse the default clipping must either set up whatever clipping it requires or constrain its drawing exactly to the list of rectangles returned by getRectsBeingDrawn. Failing to do so could result in corruption of other drawing in the view's window.
(Read only property)

Feedback, Comments & Corrections

NSViewMBS.wantsLayer as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 8.0 Yes No No Yes, macOS only No
Function: Whether the receiver and its subviews use a Core Animation layer as a backing store.
Notes:
True if the view and its subviews should use a Core Animation layer as its backing store, otherwise false.

Requires Mac OS X 10.5.
(Read and Write property)

Feedback, Comments & Corrections

NSViewMBS.wantsRestingTouches as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the view wants resting touches.
Notes:
A resting touch occurs when a user rests their thumb on a device (for example, the glass trackpad of a MacBook).

By default, these touches are not delivered and are not included in the event's set of touches. Touches may transition in and out of resting at any time. Unless the view wants restingTouches, began / ended events are simulated as touches transition from resting to active and vice versa.

In general resting touches should be ignored.

Available in Mac OS X v10.6 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSViewMBS.window as NSWindowMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS CocoaBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the receiver's window object, or nil if it has none.
Notes: (Read only property)

Feedback, Comments & Corrections

Previous items

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




Links
MBS Xojo PDF Plugins