<doc>
  <legacy_id>2205</legacy_id>
  <name>dragDestination</name>
  <type>function</type>
  <syntax>
    <example>the dragDestination</example>
    <example>dragDestination()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <function tag="target">target Function</function>
    <function tag="dropChunk">dropChunk Function</function>
    <message tag="dragEnd">dragEnd Message</message>
  </references>
  <history>
    <introduced version="2.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> the long ID of the <glossary tag="object">object</glossary> that dragged data was dropped on.</summary>
  <examples>
    <example>the dragDestination</example>
    <example>put the rect of the dragDestination into whereWeDragged</example>
  </examples>
  <description>
    <p>Use the <b>dragDestination</b> <control_st tag="function">function</control_st> to determine which <glossary tag="object">object</glossary> received a <glossary tag="drag and drop">drag and drop</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>dragDestination</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the long <property tag="ID">ID</property> <glossary tag="property">property</glossary> of the <glossary tag="object">object</glossary>.</p><p/><p><b>Comments:</b></p><p>The <b>dragDestination</b> function only <glossary tag="return">returns</glossary> a value while a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary> is being <glossary tag="execute">executed</glossary>: that is, you can use it in a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary>, or in a <glossary tag="handler">handler</glossary> that's called by a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary>. If called from another <glossary tag="handler">handler</glossary>, the <b>dragDestination</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> empty.</p>
  </description>
</doc>