Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

DragDrop.SetCursor

Sets the cursor mode.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DragDrop 2.4 Yes Yes No No No

MBS( "DragDrop.SetCursor"; droparea; mode )

Parameters

Parameter Description Example value
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


DragDrop.ReleaseAll   -   DragDrop.SetDragActionHandler

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins