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

NSViewMBS.NSViewBoundsDidChangeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS CocoaBase Plugin 10.3 Yes No No Yes, macOS only No
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.

Feedback, Comments & Corrections

NSViewMBS.NSViewDidUpdateTrackingAreasNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS CocoaBase Plugin 10.3 Yes No No Yes, macOS only No
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.

Feedback, Comments & Corrections

NSViewMBS.NSViewFocusDidChangeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS CocoaBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification names to use with the NSView class.
Notes: Sent when focus changed. Object for this notification is the view.

Feedback, Comments & Corrections

NSViewMBS.NSViewFrameDidChangeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS CocoaBase Plugin 10.3 Yes No No Yes, macOS only No
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

Feedback, Comments & Corrections

NSViewMBS.NSViewGlobalFrameDidChangeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS CocoaBase Plugin 10.3 Yes No No Yes, macOS only No
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.

Feedback, Comments & Corrections

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




Links
MBS FileMaker Plugins