Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSViewMBS.nextKeyView as NSViewMBS
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 13.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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)
NSViewMBS.opaqueAncestor as NSViewMBS
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the receiver's closest opaque ancestor (including the receiver itself).
Notes: (Read only property)
NSViewMBS.RetainCount as Integer
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 14.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The retain count for the NSView object.
Notes:
Useful for debugging. Should always be > 0.
(Read only property)
NSViewMBS.superview as NSViewMBS
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the receiver's superview, or nil if it has none.
Notes: (Read only property)
NSViewMBS.toolTip as string
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The tooltip text for this view.
Example:
dim n as new NSProgressIndicatorMBS
n.toolTip = "Hello"
MsgBox n.toolTip
Notes: (Read and Write property)
NSViewMBS.visibleRect as NSRectMBS
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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)
NSViewMBS.wantsDefaultClipping as boolean
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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)
NSViewMBS.wantsLayer as Boolean
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 8.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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)
NSViewMBS.wantsRestingTouches as boolean
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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)
NSViewMBS.window as NSWindowMBS
property, Cocoa, MBS CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the receiver's window object, or nil if it has none.
Notes: (Read only property)

Previous items

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




Links
MBS FileMaker tutorial videos