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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

MouseCursor.Set

Sets the mouse cursor.

Component Version macOS Windows Linux Server iOS SDK
Utility 2.6 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ 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:

With macOS 10.6 and newer you can also use this cursors:

Cursor names allowed on Windows:

Examples

Set hand cursor:

MBS( "MouseCursor.Set"; "openHand" )

Set crosshair cursor:

MBS( "MouseCursor.Set"; "crosshair" )

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 10th August 2020


MouseCursor.HideUntilMouseMoves - MouseCursor.Show

💬 Ask a question or report a problem