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. 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

Release notes

  • Version 8.2

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 5th February 2018


DragDrop.RegisterDropTypes - DragDrop.ReleaseAll