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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Queries current position of the drop area.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DragDrop | 4.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
droparea | The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. | $dropHandle |
swap | Whether to swap y coordinate. By default we swap them. Pass 0 to disable or 1 to swap. | 1 |
Returns y coordinate or error.
"Query current positon:"
Set Variable [ $x ; Value: MBS( "DragDrop.GetLeft"; $$dropview ) ]
Set Variable [ $y ; Value: MBS( "DragDrop.GetTop"; $$dropview ) ]
Show Custom Dialog [ "Current position" ; $x & " x " & $y ]
This function checks for a license.
Created 18th August 2014, last changed 18th December 2020