Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSCursorMBS class.
NSCursorMBS.arrowCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.closedHandCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some examples using this method:
NSCursorMBS.contextualMenuCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in Mac OS X v10.6 and later.
NSCursorMBS.crosshairCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This cursor is used for situations when precise location is required (where the lines cross is the hot spot).
Some examples using this method:
NSCursorMBS.currentCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.currentSystemCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
NSCursorMBS.disappearingItemCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.dragCopyCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in Mac OS X v10.6 and later.
NSCursorMBS.dragLinkCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in Mac OS X v10.6 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If another cursor becomes current, that cursor will be invisible, too. It will remain invisible until you invoke the unhide method.
hide overrides setHiddenUntilMouseMoves.
NSCursorMBS.IBeamCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.IBeamCursorForVerticalLayout as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in Mac OS X 10.7.
NSCursorMBS.openHandCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in Mac OS X v10.3 and later.
Some examples using this method:
NSCursorMBS.operationNotAllowedCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
NSCursorMBS.pointingHandCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The pointing-hand cursor. The tip of the pointing finger is the hot spot.
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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:
NSCursorMBS.resizeDownCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.resizeLeftCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.resizeLeftRightCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.resizeRightCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.resizeUpCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.resizeUpDownCursor as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Some examples using this method:
NSCursorMBS.ringCursorWithDiameter(diameter as Double) as NSCursorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some examples using this method:
NSCursorMBS.setHiddenUntilMouseMoves(value as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa | MBS MacBase Plugin | 8.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The items on this page are in the following plugins: MBS MacBase Plugin.