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 Next items

NSWindowMBS.hasDynamicDepthLimit as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window's depth limit can change to match the depth of the screen it's on.
Notes:
True when the window has a dynamic depth limit; otherwise, false.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.hasShadow as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Whether the receiver has a shadow.
Notes:
True when the receiver has a shadow, false when it doesn't.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.Height as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
Property Cocoa MBS MacBase Plugin 8.2 Yes No No Yes, macOS only No
Function: The height of the color panel in pixel.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.hidesOnDeactivate as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Whether the receiver is removed from the screen when its application becomes inactive.
Notes:
True when the receiver is removed from the screen when its application is deactivated; false if it remains onscreen.

The default for NSWindow is false; the default for NSPanel is true.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.identifier as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: A string that identifies this user interface item.
Example:
dim w as new NSWindowMBS(window1)

w.identifier = "window1"
MsgBox w.identifier
Notes:
It should be set to a unique value on NSViews when they are intended to be used inside a view-based NSTableView. Identifiers should be unique per-window. For programmatically created user interface items, you would typically set this value in code after creating a control but before adding it to a window. You may also want to set an identifier on a window, after creating it programmatically, to identify the window easily when it is reopened. You should not change the identifier after a control is added to a window. Identifiers beginning with an underscore are reserved for the system. In framework classes that implement this protocol, the accessor methods are not intended to be overridden.

To help avoid collision of identifiers, it is recommended that identifiers use the same prefix as is used for the framework or application. For example, identifiers for standard AppKit interface items, such as the open panel, will begin with "NS".

The slash '/', backslash '\', and colon ':' characters are reserved and should not be used in identifiers.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.ignoresMouseEvents as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Indicates whether the receiver is transparent to mouse events.
Notes:
True when the receiver is transparent to mouse events, otherwise false.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.initialFirstResponder as NSViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The view that's made first responder the first time the window is placed onscreen.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.isDocumentEdited as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Indicates whether the receiver's document has been edited.
Notes:
True when the receiver's document has been edited; false otherwise.
Initially, by default, NSWindow objects are in the "not edited" state.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.isExcludedFromWindowsMenu as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Whether the receiver's title is omitted from the application's Windows menu.
Notes:
True to specify that the receiver is to be omitted from the application's Windows menu; false to specify otherwise.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.isFlushWindowDisabled as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window's flushing ability is disabled.
Notes: (Read only property)

Feedback, Comments & Corrections

NSWindowMBS.isKeyWindow as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window is the key window for the application.
Notes: (Read only property)

Feedback, Comments & Corrections

NSWindowMBS.isMainWindow as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window is the application's main window.
Notes: (Read only property)

Feedback, Comments & Corrections

NSWindowMBS.isMiniaturized as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Whether the receiver is minimized.
Notes:
A minimized window is removed from the screen and replaced by a image, icon, or button that represents it, called the counterpart.
(Read only property)

Feedback, Comments & Corrections

NSWindowMBS.isMovableByWindowBackground as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: A Boolean value that indicates whether the receiver is movable by clicking and dragging anywhere in its background.
Notes:
True when the window is movable by clicking and dragging anywhere in its background, otherwise false.

A window with a style mask of NSTexturedBackgroundWindowMask is movable by background by default. Sheets and drawers cannot be movable by window background.

Available in Mac OS X v10.2 and later.
Works in Real Studio 2011r3, but not in 2011r4.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.isOnActiveSpace as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window is on the currently active space.
Notes:
For visible windows, this method indicates whether the window is currently visible on the active space. For offscreen windows, it indicates whether ordering the window onscreen would cause it to be on the active space.
Available in Mac OS X v10.6 and later.
(Read only property)

Feedback, Comments & Corrections

NSWindowMBS.isOneShot as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window device the window manages is freed when it's removed from the screen list.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.isOpaque as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: Whether the receiver is opaque.
Notes:
True when the receiver is opaque; false otherwise.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.isSheet as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Indicates whether the window has ever run as a modal sheet.
Notes:
Sheets are created using the NSPanel subclass.
Available in Mac OS X v10.1 and later.
(Read only property)

Feedback, Comments & Corrections

NSWindowMBS.isZoomed as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: A Boolean value that indicates whether the receiver is in a zoomed state.
Notes: (Read only property)

Feedback, Comments & Corrections

NSWindowMBS.Left as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
Property Cocoa MBS MacBase Plugin 8.2 Yes No No Yes, macOS only No
Function: The horizontal position of the color panel in pixel.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.Level as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: The window level of the receiver.
Example:
dim n as NSWindowMBS = window1.NSWindowMBS
n.Level = n.NSFloatingWindowLevel
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.maxSize as NSSizeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The maximum size to which the window's frame (including its title bar) can be sized.
Notes:
The maximum size to which the window's frame (including its title bar) can be sized either by the user or by the setFrame... methods other than setFrame.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.miniwindowImage as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: The custom miniaturized window image of the receiver.
Notes:
The miniaturized window image is the image displayed in the Dock when the window is minimized. If you did not assign a custom image to the window, this method returns nil.

Value is declares as Variant to minimize plugin dependencies, but should be NSImageMBS.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.miniwindowTitle as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.4 Yes No No Yes, macOS only No
Function: The title displayed in the receiver's minimized window.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.minSize as NSSizeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The minimum size to which the window's frame (including its title bar) can be sized.
Notes:
The minimum size to which the window's frame (including its title bar) can be sized either by the user or by the setFrame... methods other than setFrame.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.Movable as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the window can be moved by clicking in its title bar or background.
Notes:
setMovableByWindowBackground, called with the argument true, is ignored by a window that returns false from isMovable. If a window returns false, that means it can only be dragged between spaces in F8 mode, and its relative screen position is always preserved. Note that a resizable window may still be resized, and the window frame may be changed programmatically. A non-movable window will not be moved or resized by the system in response to a display reconfiguration. Applications may choose to enable application-controlled window dragging after disabling user-initiating dragging by handling the mouseDown/mouseDragged/mouseUp sequence in sendEvent in an NSWindow subclass.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.parentWindow as NSWindowMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The parent window to which the window is attached as a child.
Notes:
Available in Mac OS X v10.2 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.preferredBackingLocation as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The preferred location for the window's backing store.
Notes:
Available in Mac OS X v10.5 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSWindowMBS.preservesContentDuringLiveResize as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed.
Notes:
Returns true if the window tries to optimize live resize operations by preserving the content of views that have not moved; otherwise, false.

Discussion
When live-resize optimization is active, the window redraws only those views that moved (or do not support this optimization) during a live resize operation.

See preservesContentDuringLiveResize in NSView for additional information on how to support this optimization.

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

Feedback, Comments & Corrections

NSWindowMBS.preventsApplicationTerminationWhenModal as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the window prevents application termination when modal.
Notes:
Available in Mac OS X v10.6 and later.
(Read and Write property)

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS FileMaker blog