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  

DragDrop.Release

Releases the drop area and reclaims memory.

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

MBS( "DragDrop.Release"; droparea )

Parameters

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

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins