acceptDrop

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the acceptDrop to {true | false}
Summary

Specifies whether a drop will be accepted during a drag and drop. Deprecated

Introduced2.0
Deprecated2.9
Platformsdesktop
Example
set the acceptDrop to true
if word 1 of the target is "button" then set the acceptDrop to false
RelatedGlossary: object, property, handler, drag and drop
Message: dragEnter, dragEnd
Description

The acceptDrop property is deprecated as of version 2.9. Setting the acceptDrop to true is equivalent to setting the dragAction to "copy".

In previous versions, setting the acceptDrop property in an object's dragEnter handler allowed it to accept drops.

Tagsui