Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DragDrop.GetLeft
Queries current position of the drop area.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DragDrop | 4.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "DragDrop.GetLeft"; droparea ) More
Parameters
Parameter | Description | Example |
---|---|---|
droparea | The reference ID for this drop area. | $dropHandle |
Result
Returns x coordinate or error.
Description
Queries current position of the drop area.Examples
"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 ]
See also
- DragDrop.GetHeight
- DragDrop.GetHTML
- DragDrop.GetPath
- DragDrop.GetRTF
- DragDrop.GetSVG
- DragDrop.GetTag
- DragDrop.GetText
- DragDrop.GetTop
- DragDrop.GetURL
- DragDrop.GetWidth
This function checks for a license.
Created 18th August 2014, last changed 18th December 2020
