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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DragDrop.Release
Releases the drop area and reclaims memory.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DragDrop | 2.4 | Yes | Yes | No | No | No |
Parameters
| Parameter | Description | Example |
|---|---|---|
| droparea | The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a 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.AttachToWindow
- DragDrop.CreateWithControl
- DragDrop.CreateWithSize
- DragDrop.CreateWithWindow
- DragDrop.ReleaseAll
Example Databases
- Drag and Drop/DragTest Popover
- Drag and Drop/DragTest
- Drag and Drop/for Mac/DragTest multiple picture files
Blog Entries
FileMaker Magazin
Release notes
- Version 8.2
- Fixed a problem with DragDrop.Release function not removing control.
Created 18th August 2014, last changed 5th February 2018
DragDrop.RegisterDropTypes - DragDrop.ReleaseAll
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins