MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.
Join us from 11th to 14th September 2013 in Koblenz.
Platforms to show: All Mac Windows Linux Cross-Platform
NSViewMBS.NSViewBoundsDidChangeNotification as string
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes:
Posted whenever the NSView's bounds rectangle changes independently of the frame rectangle, if the NSView is configured using setPostsBoundsChangedNotifications to post such notifications.
The notification object is the NSView object whose bounds rectangle has changed. This notification does not contain a userInfo dictionary.
The following methods can result in notification posting
Note that the bounds rectangle resizes automatically to track the frame rectangle. Because the primary change is that of the frame rectangle, however, setFrame and setFrameSize don't result in a bounds-changed notification.
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes:
Posted whenever the NSView's bounds rectangle changes independently of the frame rectangle, if the NSView is configured using setPostsBoundsChangedNotifications to post such notifications.
The notification object is the NSView object whose bounds rectangle has changed. This notification does not contain a userInfo dictionary.
The following methods can result in notification posting
- setBounds
- setBoundsOrigin
- setBoundsRotation
- setBoundsSize
- translateOriginToPoint
- scaleUnitSquareToSize
- rotateByAngle
Note that the bounds rectangle resizes automatically to track the frame rectangle. Because the primary change is that of the frame rectangle, however, setFrame and setFrameSize don't result in a bounds-changed notification.
NSViewMBS.NSViewDidUpdateTrackingAreasNotification as string
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes:
Posted whenever an NSView object recalculates its tracking areas. It is sent after the view receives updateTrackingAreas.
Available in Mac OS X v10.5 and later.
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes:
Posted whenever an NSView object recalculates its tracking areas. It is sent after the view receives updateTrackingAreas.
Available in Mac OS X v10.5 and later.
NSViewMBS.NSViewFocusDidChangeNotification as string
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes: Sent when focus changed. Object for this notification is the view.
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes: Sent when focus changed. Object for this notification is the view.
NSViewMBS.NSViewFrameDidChangeNotification as string
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes:
Posted whenever the view's frame rectangle changes, if the view is configured using setPostsFrameChangedNotifications to post such notifications.
The notification object is the NSView object whose frame rectangle has changed. This notification does not contain a userInfo dictionary.
The following methods can result in notification posting:
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes:
Posted whenever the view's frame rectangle changes, if the view is configured using setPostsFrameChangedNotifications to post such notifications.
The notification object is the NSView object whose frame rectangle has changed. This notification does not contain a userInfo dictionary.
The following methods can result in notification posting:
- setFrame
- setFrameOrigin
- setFrameRotation
- setFrameSize
NSViewMBS.NSViewGlobalFrameDidChangeNotification as string
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes: Posted whenever an NSView object that has attached surfaces (that is, NSOpenGLContext objects) moves to a different screen, or other cases where the NSOpenGLContext object needs to be updated. The notification object is the surface's view. This notification does not contain a userInfo dictionary.
shared method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 10.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: One of the notification names to use with the NSView class.
Notes: Posted whenever an NSView object that has attached surfaces (that is, NSOpenGLContext objects) moves to a different screen, or other cases where the NSOpenGLContext object needs to be updated. The notification object is the surface's view. This notification does not contain a userInfo dictionary.
NSViewMBS.opaqueAncestor as NSViewMBS
method, Cocoa, MBS Real Studio 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).
method, Cocoa, MBS Real Studio 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).
NSViewMBS.pageFooter as NSAttributedStringMBS
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Returns a default footer string that includes the current page number and page count.
Notes:
A printable view class can override this method to substitute its own content in place of the default value. You should not need to call this method directly. The printing system calls it once per page during printing.
Footers are generated only if the user defaults contain the key NSPrintHeaderAndFooter with the value true.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Returns a default footer string that includes the current page number and page count.
Notes:
A printable view class can override this method to substitute its own content in place of the default value. You should not need to call this method directly. The printing system calls it once per page during printing.
Footers are generated only if the user defaults contain the key NSPrintHeaderAndFooter with the value true.
NSViewMBS.pageHeader as NSAttributedStringMBS
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Returns a default header string that includes the print job title and date.
Notes:
Typically, the print job title is the same as the window title. A printable view class can override this method to substitute its own content in place of the default value. You should not need to call this method directly. The printing system calls it once per page during printing.
Headers are generated only if the user defaults contain the key NSPrintHeaderAndFooter with the value true.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Returns a default header string that includes the print job title and date.
Notes:
Typically, the print job title is the same as the window title. A printable view class can override this method to substitute its own content in place of the default value. You should not need to call this method directly. The printing system calls it once per page during printing.
Headers are generated only if the user defaults contain the key NSPrintHeaderAndFooter with the value true.
NSViewMBS.print
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: This action method opens the Print panel, and if the user chooses an option other than canceling, prints the receiver and all its subviews to the device specified in the Print panel.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: This action method opens the Print panel, and if the user chooses an option other than canceling, prints the receiver and all its subviews to the device specified in the Print panel.
NSViewMBS.registeredDraggedTypes as string()
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Returns the array of pasteboard drag types that the view can accep
Example:
Notes:
This method returns the types registered by calling registerForDraggedTypes:. Each element of the array is a uniform type identifier. The returned elements are in no particular order, but the array is guaranteed not to contain duplicate entries.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Returns the array of pasteboard drag types that the view can accep
Example:
// we register some types
Listbox1.AcceptPictureDrop
Listbox1.AcceptTextDrop
// and query them:
MsgBox Join(Listbox1.NSViewMBS.registeredDraggedTypes, EndOfLine)
' shows:
'NeXT TIFF v4.0 pasteboard type
'com.apple.traditional-mac-plain-text
'NSStringPboardType
NSViewMBS.registerForDraggedTypes(Types() as string)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Registers the pasteboard types that the receiver will accept as the destination of an image-dragging session.
Notes:
Types: An array of uniform type identifiers. See Types for Standard Data (Mac OS X 10.6 and later) for descriptions of the pasteboard type identifiers.
Registering an NSView object for dragged types automatically makes it a candidate destination object for a dragging session. As such, it must properly implement some or all of the NSDraggingDestination protocol methods. As a convenience, NSView provides default implementations of these methods. See the NSDraggingDestination protocol specification for details.
Real Studio with Cocoa target implements the methods listed above. So this method is useful to change the allowed types for the case the framework has a bug.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Registers the pasteboard types that the receiver will accept as the destination of an image-dragging session.
Notes:
Types: An array of uniform type identifiers. See Types for Standard Data (Mac OS X 10.6 and later) for descriptions of the pasteboard type identifiers.
Registering an NSView object for dragged types automatically makes it a candidate destination object for a dragging session. As such, it must properly implement some or all of the NSDraggingDestination protocol methods. As a convenience, NSView provides default implementations of these methods. See the NSDraggingDestination protocol specification for details.
Real Studio with Cocoa target implements the methods listed above. So this method is useful to change the allowed types for the case the framework has a bug.
NSViewMBS.removeAllToolTips
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Removes all tool tips assigned to the receiver.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Removes all tool tips assigned to the receiver.
NSViewMBS.removeFromSuperview
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 8.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 8.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles.
NSViewMBS.removeFromSuperviewWithoutNeedingDisplay
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Unlinks the receiver from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing.
Notes:
The receiver is also released; if you plan to reuse it, be sure to retain it before sending this message and to release it as appropriate when adding it as a subview of another view.
Unlike its counterpart, removeFromSuperview, this method can be safely invoked during display.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Unlinks the receiver from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing.
Notes:
The receiver is also released; if you plan to reuse it, be sure to retain it before sending this message and to release it as appropriate when adding it as a subview of another view.
Unlike its counterpart, removeFromSuperview, this method can be safely invoked during display.
NSViewMBS.RenderImage(subviews as boolean=false) as variant
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 8.5, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Renders a picture of the view.
Example:
Notes:
May return nil on any error.
The value of this variant must be an object of class NSImageMBS.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 8.5, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Renders a picture of the view.
Example:
dim n as new NSProgressIndicatorMBS
n.sizeToFit
dim image as NSImageMBS = n.RenderImage
dim pic as Picture = image.CopyPicture
Backdrop = pic
May return nil on any error.
The value of this variant must be an object of class NSImageMBS.
NSViewMBS.replaceSubview(oldView as NSViewMBS, newView as NSViewMBS)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Replaces one of the receiver's subviews with another view.
Notes:
oldView: The view to be replaced by newView. May not be nil.
newView: The view to replace oldView. May not be nil.
This method does nothing if oldView is not a subview of the receiver.
Neither oldView nor newView may be nil, and the behavior is undefined if either of these parameters is nil.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 12.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Replaces one of the receiver's subviews with another view.
Notes:
oldView: The view to be replaced by newView. May not be nil.
newView: The view to replace oldView. May not be nil.
This method does nothing if oldView is not a subview of the receiver.
Neither oldView nor newView may be nil, and the behavior is undefined if either of these parameters is nil.
NSViewMBS.rotateByAngle(angle as double)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 13.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Rotates the receiver’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0).
Notes:
angle: A float value specifying the angle of rotation, in degrees.
See the BoundsRotation property description for more information. This method neither redisplays the receiver nor marks it as needing display. You must do this yourself with display or NeedsDisplay.
This method posts an NSViewBoundsDidChangeNotification to the default notification center if the receiver is configured to do so.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 13.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Rotates the receiver’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0).
Notes:
angle: A float value specifying the angle of rotation, in degrees.
See the BoundsRotation property description for more information. This method neither redisplays the receiver nor marks it as needing display. You must do this yourself with display or NeedsDisplay.
This method posts an NSViewBoundsDidChangeNotification to the default notification center if the receiver is configured to do so.
NSViewMBS.scaleUnitSquareToSize(size as NSSizeMBS)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Scales the receiver's coordinate system so that the unit square scales to the specified dimensions.
Notes:
For example, a newUnitSize of (0.5, 1.0) causes the receiver's horizontal coordinates to be halved, in turn doubling the width of its bounds rectangle. Note that scaling is performed from the origin of the coordinate system, (0.0, 0.0), not the origin of the bounds rectangle; as a result, both the origin and size of the bounds rectangle are changed. The frame rectangle remains unchanged.
This method neither redisplays the receiver nor marks it as needing display. You must do this yourself with display or setNeedsDisplay.
This method posts an NSViewBoundsDidChangeNotification to the default notification center if the receiver is configured to do so.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Scales the receiver's coordinate system so that the unit square scales to the specified dimensions.
Notes:
For example, a newUnitSize of (0.5, 1.0) causes the receiver's horizontal coordinates to be halved, in turn doubling the width of its bounds rectangle. Note that scaling is performed from the origin of the coordinate system, (0.0, 0.0), not the origin of the bounds rectangle; as a result, both the origin and size of the bounds rectangle are changed. The frame rectangle remains unchanged.
This method neither redisplays the receiver nor marks it as needing display. You must do this yourself with display or setNeedsDisplay.
This method posts an NSViewBoundsDidChangeNotification to the default notification center if the receiver is configured to do so.
NSViewMBS.setBoundsOrigin(left as double, top as double)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds origin.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds origin.
See also:
NSViewMBS.setBoundsOrigin(origin as NSPointMBS)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds origin.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds origin.
See also:
NSViewMBS.setBoundsSize(size as NSSizeMBS)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds size of the nsview.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds size of the nsview.
See also:
NSViewMBS.setBoundsSize(width as double, height as double)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds size of the nsview.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the bounds size of the nsview.
See also:
NSViewMBS.setFrameOrigin(left as double, top as double)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame origin.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame origin.
See also:
NSViewMBS.setFrameOrigin(origin as NSPointMBS)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame origin.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame origin.
See also:
NSViewMBS.setFrameSize(size as NSSizeMBS)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame size.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame size.
See also:
NSViewMBS.setFrameSize(width as double, height as double)
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame size.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 7.7, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Sets the frame size.
See also:
NSViewMBS.subviews as NSViewMBS()
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: The immediate subviews.
Notes: The order of the subviews may be considered as being back-to-front, but this does not imply invalidation and drawing behavior. The order is based on the order of the receiver's subviews as specified in the nib file from which they were unarchived or the programmatic interface for modifying the receiver's subview list. This ordering is also the reverse of the order in which hit-testing is done.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 9.6, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: The immediate subviews.
Notes: The order of the subviews may be considered as being back-to-front, but this does not imply invalidation and drawing behavior. The order is based on the order of the receiver's subviews as specified in the nib file from which they were unarchived or the programmatic interface for modifying the receiver's subview list. This ordering is also the reverse of the order in which hit-testing is done.
NSViewMBS.superview as NSViewMBS
method, Cocoa, MBS Real Studio 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.
method, Cocoa, MBS Real Studio 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.
NSViewMBS.toolTip as string
property, Cocoa, MBS Real Studio 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:
Notes:
(Read and Write computed property)
property, Cocoa, MBS Real Studio 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
NSViewMBS.unregisterDraggedTypes
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Unregisters the receiver as a possible destination in a dragging session.
method, Cocoa, MBS Real Studio CocoaBase Plugin (NSView), class NSViewMBS,
Plugin version: 11.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: Unregisters the receiver as a possible destination in a dragging session.
NSViewMBS.visibleRect as NSRectMBS
method, Cocoa, MBS Real Studio 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.
method, Cocoa, MBS Real Studio 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.
NSViewMBS.wantsDefaultClipping as boolean
method, Cocoa, MBS Real Studio 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.
method, Cocoa, MBS Real Studio 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.
NSViewMBS.wantsLayer as Boolean
property, Cocoa, MBS Real Studio 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 computed property)
property, Cocoa, MBS Real Studio 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 computed property)
NSViewMBS.wantsRestingTouches as boolean
property, Cocoa, MBS Real Studio 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 computed property)
property, Cocoa, MBS Real Studio 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 computed property)
NSViewMBS.window as NSWindowMBS
method, Cocoa, MBS Real Studio 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.
method, Cocoa, MBS Real Studio 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.
The items on this page are in the following plugins: MBS Real Studio CocoaBase Plugin.
Links
MBS Real Studio Plugins