Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MouseCursor.Set
Sets the mouse cursor.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Utility | 2.6 | Yes | Yes | No | Yes | No |
MBS( "MouseCursor.Set"; CursorName ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| CursorName | The name of cursor you'd like to set. | "openHand" |
Result
Returns "OK" or error message.
Description
Sets the mouse cursor.As FileMaker loves to reset the cursor, you can't use it only in places where FileMaker does not reset it. Like in a script without pauses.
Cursor names allowed on macOS:
- arrow
- IBeam
- pointingHand
- closedHand
- openHand
- resizeLeft
- resizeRight
- resizeLeftRight
- resizeUp
- resizeDown
- resizeUpDown
- crosshair
- disappearingItem
With macOS 10.6 and newer you can also use this cursors:
- operationNotAllowed
- dragLink
- dragCopy
- contextualMenu
Cursor names allowed on Windows:
- AppStarting
- Arrow
- IBeam
- Hand
- OpenHand
- resizeLeftRight
- resizeUpDown
- crosshair
- operationNotAllowed
- Help
- SizeNESW
- SizeNS
- SizeNWSE
- SizeWE
- SizeAll
- UpArrow
- Wait
Examples
Set hand cursor:
MBS( "MouseCursor.Set"; "openHand" )
Set crosshair cursor:
MBS( "MouseCursor.Set"; "crosshair" )
See also
Example Databases
Blog Entries
Created 18th August 2014, last changed 10th August 2020
MouseCursor.HideUntilMouseMoves - MouseCursor.Show
Feedback: Report problem or ask question.
Links
MBS Xojo blog