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
DragDrop.SetCursor
Sets the cursor mode.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
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
Release notes
- Version 8.1
- Added new Move cursor for DragDrop.SetCursor.
Created 18th August 2014, last changed 10th February 2018
DragDrop.SetAutoResizingMask - DragDrop.SetDragActionHandler
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins