<doc>
  <legacy_id>1553</legacy_id>
  <name>moveControl</name>
  <type>message</type>
  <syntax>
    <example>moveControl</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <message tag="moveStack">moveStack Message</message>
    <command tag="revCacheGeometry">revCacheGeometry Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Sent to a <keyword tag="control">control</keyword> that the user moved with the <glossary tag="Pointer tool">Pointer tool</glossary>.</summary>
  <examples>
    <example>on moveControl <code><i>-- in a button script</i></code></p><p><code><i>-- move the same-named field to be below the moved button:</i></code></p><p>  set the topLeft of field (the short name of the target) \</p><p>     to the bottomLeft of the target</p><p>end moveControl</example>
  </examples>
  <description>
    <p>Handle the <b>moveControl</b> <keyword tag="message box">message</keyword> if you want to respond to the user's movement of a <keyword tag="control">control</keyword>. For example, you can create a <b>moveControl</b> <glossary tag="handler">handler</glossary> that responds to movement of a <keyword tag="button">button</keyword> by moving <glossary tag="field">fields</glossary> out of the <glossary tag="button">button's</glossary> way.</p><p/><p><b>Comments:</b></p><p>The <b>moveControl</b> <keyword tag="message box">message</keyword> is sent only if the user moved the <keyword tag="control">control</keyword>. This message is not sent when a <glossary tag="handler">handler</glossary> moves the <keyword tag="control">control</keyword> by changing its <property tag="location">location</property>, <keyword tag="rectangle">rectangle</keyword>, or other <property tag="properties">properties</property>.</p><p/><p>The <b>moveControl</b> <keyword tag="message box">message</keyword> is sent after the movement is finished. This means that you cannot prevent a <keyword tag="control">control</keyword> from being moved by <glossary tag="trap">trapping</glossary> this <keyword tag="message box">message</keyword>.</p>
  </description>
</doc>