Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DragDrop.SetFrame
Sets a new frame for the drop area.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DragDrop | 4.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "DragDrop.SetFrame"; droparea; X; Y; Width; Height ) More
Parameters
Parameter | Description | Example |
---|---|---|
droparea | The reference ID for this drop area. | $dropHandle |
X | The x coordinate. | |
Y | The y coordinate. | |
Width | The width of the control. | |
Height | The height of the control. |
Result
Returns OK or error.
Description
Sets a new frame for 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.SetCursor
- DragDrop.SetDragImage
- DragDrop.SetFrameWithControl
- DragDrop.SetImage
- DragDrop.SetTag
Release notes
- Version 10.3
- Rewrote also DragDrop.SetFrame, ImageView.SetFrame, MapView.SetFrame and TextView.SetFrame.
- Rewrote control placement for MacOS and iOS controls for AVPlayer.SetFrameWithControl, DragDrop.SetFrameWithControl, ImageView.SetFrameWithControl, MapView.SetFrameWithControl TextView.SetFrameWithControl, WebView.SetFrameWithControl.
- Version 8.5
- Added DragDrop.SetFrameWithControl function.
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 5th February 2018