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


Queries current position of the drop area.

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

MBS( "DragDrop.GetTop"; droparea; swap )


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


Queries current position of the drop area.
As Cocoa framework uses zero for the bottom coordinate, we have to swap for the normal topdown coordinates to be used.

See also

DragDrop.GetText   -   DragDrop.GetTypes

Feedback: Report problem or ask question.

MBS Xojo blog