<doc>
  <legacy_id>3386</legacy_id>
  <name>dragAction</name>
  <type>property</type>
  <syntax>
    <example>set the dragAction to {<i>none</i> | <i>move</i> | <i>copy</i> | <i>link</i>}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
  </classification>
  <references>
    <message tag="dragDrop">dragDrop Message</message>
    <message tag="dragStart">dragStart Message</message>
    <property tag="allowableDragActions">allowableDragActions Property</property>
  </references>
  <history>
    <introduced version="2.9">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
  </classes>
  <security>
  </security>
  <summary> Specifies what action will be performed upon an object when it is dragged.</summary>
  <examples>
    <example>set the dragAction to "move"</example>
    <example>if word 1 of the target is "button" then</p><p>  set the dragAction to "none"</p><p>end if</example>
  </examples>
  <description>
    <p>The <b>dragAction</b> property is used to indicate which action should be (or has been) performed on the data.  It can be one of :</p><p>        none - the target application does not want the data</p><p>        move - the target application wants to move the data</p><p>        copy - the target application wants to copy the data</p><p>        link - the target application wants to link the data</p><p/><p>When acting as the source application, query the <b>dragAction</b> property in the <message tag="dragEnd">dragEnd </message> handler to determine what action the target application performed.</p><p/><p>When acting as the target application, set the <b>dragAction</b> property in <message tag="dragEnter">dragEnter</message>, <message tag="dragMove">dragMove</message> or <message tag="dragLeave">dragLeave</message> to indicate what you may do with the data if it is dropped; set the <b>dragAction</b> property in the <message tag="dragDrop">dragDrop</message> handler to indicate what you did with the data.</p>
  </description>
</doc>