Platforms to show: All Mac Windows Linux Cross-Platform

NSCursorMBS.arrowCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the default cursor, the arrow cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.arrowCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: The default cursor, a slanted arrow with its hot spot at the tip. The arrow cursor is the one you're used to seeing over buttons, scrollers, and many other objects in the window system.

Feedback, Comments & Corrections

NSCursorMBS.closedHandCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the closed-hand system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.closedHandCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask

Feedback, Comments & Corrections

NSCursorMBS.contextualMenuCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the contextual menu system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.contextualMenuCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSCursorMBS.crosshairCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the cross-hair system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.crosshairCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: This cursor is used for situations when precise location is required (where the lines cross is the hot spot).

Feedback, Comments & Corrections

NSCursorMBS.currentCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the application's current cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.currentCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: The top cursor on the application's cursor stack. This cursor may not be the visible cursor on the screen if a different application is currently active.

Feedback, Comments & Corrections

NSCursorMBS.currentSystemCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the current system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.currentSystemCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
Returns a cursor whose image and hot spot match those of the currently-displayed cursor on the system.
This method returns the current system cursor regardless of which application set the cursor, and whether Cocoa or Carbon APIs were used to set it.
This method replaces the now deprecated QDGetCursorData function.
Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSCursorMBS.disappearingItemCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns a cursor indicating that the current operation will result in a disappearing item.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.disappearingItemCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The system cursor that indicates that the current operation will result in a disappearing item (for example, when dragging an item from the dock or a toolbar).

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.dragCopyCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns a cursor indicating that the current operation will result in a copy action.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.dragCopyCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSCursorMBS.dragLinkCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns a cursor indicating that the current operation will result in a link action.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.dragLinkCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSCursorMBS.hide
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Makes the current cursor invisible.
Notes:
If another cursor becomes current, that cursor will be invisible, too. It will remain invisible until you invoke the unhide method.

hide overrides setHiddenUntilMouseMoves.

Feedback, Comments & Corrections

NSCursorMBS.IBeamCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns a cursor that looks like a capital I with a tiny crossbeam at its middle.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.IBeamCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: The I-beam cursor. This is the cursor that you're used to seeing over editable or selectable text. The I-beam cursor's default hot spot is where the crossbeam intersects the I.

Feedback, Comments & Corrections

NSCursorMBS.IBeamCursorForVerticalLayout as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns a cursor that looks like a capital I with a tiny crossbeam at its middle.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.IBeamCursorForVerticalLayout
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: Available in Mac OS X 10.7.

Feedback, Comments & Corrections

NSCursorMBS.openHandCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the open-hand system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.openHandCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.operationNotAllowedCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns the operation not allowed cursor.
Notes:
This cursor indicates that the operation that is being attempted, perhaps dragging to an item that can't accept the drag type, is being denied.

Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSCursorMBS.pointingHandCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the pointing-hand system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.pointingHandCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes: The pointing-hand cursor. The tip of the pointing finger is the hot spot.

Feedback, Comments & Corrections

NSCursorMBS.pop
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Pops the current cursor off the top of the stack.
Notes: The new object on the top of the stack becomes the current cursor. If the current cursor is the only cursor on the stack, this method does nothing.

See also:

Feedback, Comments & Corrections

NSCursorMBS.resizeDownCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the resize-down system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.resizeDownCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The resize-down cursor. This cursor is used when moving or resizing an object to indicate that the user can move only in the indicated direction.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.resizeLeftCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the resize-left system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.resizeLeftCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The resize-left cursor. This cursor is used when moving or resizing an object to indicate that the user can move only in the indicated direction.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.resizeLeftRightCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the resize-left-and-right system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.resizeLeftRightCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The resize-left-and-right cursor. This cursor is used when moving or resizing an object and the object can be moved left or right.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.resizeRightCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the resize-right system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.resizeRightCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The resize-right cursor. This cursor is used when moving or resizing an object to indicate that the user can move only in the indicated direction.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.resizeUpCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the resize-up system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.resizeUpCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The resize-up cursor. This cursor is used when moving or resizing an object to indicate that the user can move only in the indicated direction.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.resizeUpDownCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the resize-up-and-down system cursor.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.resizeUpDownCursor
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask
Notes:
The resize-up-and-down cursor. This cursor is used when moving or resizing an object and the object can be moved up or down.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSCursorMBS.ringCursorWithDiameter(diameter as Double) as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Creates a ring cursor with the given size.
Example:
// shows cursor in window
dim c as NSCursorMBS = NSCursorMBS.ringCursorWithDiameter(20)
dim i as NSImageMBS = c.image
window1.Backdrop=i.CopyPictureWithMask

Feedback, Comments & Corrections

NSCursorMBS.setHiddenUntilMouseMoves(value as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Sets whether the cursor is hidden until the mouse moves.
Notes:
value: True to hide the cursor until one of the following occurs:
The mouse moves.
You invoke the method again, with flag set to false.

Do not try to counter this method by invoking unhide. The results are undefined.

Feedback, Comments & Corrections

NSCursorMBS.unhide
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacCocoa Plugin 8.6 Yes No No Yes, macOS only No
Function: Negates an earlier call to hide by showing the current cursor.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Plugins