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. | $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
- DragDrop.AttachToOverlay
- DragDrop.AttachToWindow
- DragDrop.CreateWithControl
- DragDrop.CreateWithWindow
- DragDrop.RegisterDropTypes
- DragDrop.SetFrame
Release notes
- Version 8.1
- Added new Move cursor for DragDrop.SetCursor.
Example Databases
- Drag and Drop/DragTest Popover
- Drag and Drop/DragTest
- Drag and Drop/for Mac/DragTest multiple picture files
- Mac and iOS/Machine Learning/Core ML Photos
Blog Entries
- Adding Drag and Drop receiver to a layout
- MBS FileMaker Plugin, version 8.1pr3
- MBS FileMaker Plugin, version 5.2pr1
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 10th February 2018
DragDrop.SetAutoResizingMask - DragDrop.SetDragActionHandler