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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

DragDrop.SetCursor

Sets the cursor mode.

Component Version macOS Windows Linux Server iOS SDK License
DragDrop 2.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No Paid
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

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


DragDrop.SetAutoResizingMask - DragDrop.SetDragActionHandler

Feedback: Report problem or ask question.


Start Chat