Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DragDrop.SetCursor

Sets the cursor mode.

Component Version macOS Windows Linux Server iOS SDK
DragDrop 2.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "DragDrop.SetCursor"; droparea; mode )   More

Parameters

Parameter Description Example
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
mode The cursor mode. Currently: 0 = default, 1 = copy, 2 = link and 4 = move. 1

Result

Returns "OK" on success.

Description

Sets the cursor mode.
This defines what cursor the user sees when moving mouse over the drop area.
FileMaker seems to overwrite our cursor change. Sorry.
Added Windows support for MBS Plugin 8.1 and new mode Move.

Examples

Set cursor to shop plus sign:

MBS( "DragDrop.SetCursor"; $dropview; 1)

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 10th February 2018


DragDrop.SetAutoResizingMask - DragDrop.SetDragActionHandler