Specifies whether a drop will be accepted during a drag and drop. DeprecatedSyntax:

set the acceptDrop to {true | false}


set the acceptDrop to true
if word 1 of the target is "button" then set the acceptDrop to false

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.

See also: dragEnter (message),dragEnd (message),