Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DragDrop.Release
Releases the drop area and reclaims memory.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DragDrop | 2.4 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "DragDrop.Release"; droparea ) More
Parameters
Parameter | Description | Example |
---|---|---|
droparea | The reference ID for this drop area. | $dropHandle |
Result
Returns "OK" on success.
Description
Releases the drop area and reclaims memory.If you go to layout editor and drop zones are still active, this may cause trouble. Like you can't drag & drop controls.
Examples
Releases a drop area:
If [ Length($$dropView) > 0 ]
Set Variable [ $result ; Value: MBS( "DragDrop.Release"; $$dropview) ]
Set Variable [ $$dropview ; Value: "" ]
End If
See also
- DragDrop.AttachToOverlay
- DragDrop.AttachToWindow
- DragDrop.CreateWithControl
- DragDrop.CreateWithSize
- DragDrop.CreateWithWindow
- DragDrop.ReleaseAll
Release notes
- Version 8.2
- Fixed a problem with DragDrop.Release function not removing control.
Example Databases
- Drag and Drop/DragTest Popover
- Drag and Drop/DragTest
- Drag and Drop/for Mac/DragTest multiple picture files
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 5th February 2018