<doc>
  <legacy_id>1534</legacy_id>
  <name>resizeControl</name>
  <type>message</type>
  <syntax>
    <example>resizeControl</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>
    <message tag="resizeStack">resizeStack Message</message>
  </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> right after the user resizes it.</summary>
  <examples>
    <example>on resizeControl <code><i>-- make sure a label stays at the bottom edge</i></code></p><p>  set the top of field "Label" to the bottom of me</p><p>  pass resizeControl</p><p>end resizeControl</example>
  </examples>
  <description>
    <p>Handle the <b>resizeControl</b> message if you want to update other <glossary tag="object">objects</glossary>, or do other tasks, in response to the user resizing a <keyword tag="control">control</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>resizeControl</b> <keyword tag="message box">message</keyword> is only sent when the user resizes a <keyword tag="control">control</keyword> by dragging its handles. It is not sent if a <glossary tag="handler">handler</glossary> changes the size of a control by changing its <property tag="properties">properties</property> (<property tag="width">width</property>, <property tag="height">height</property>, and so on).</p><p/><p>The <b>resizeControl</b> <keyword tag="message box">message</keyword> is sent after the resizing is finished. This means that you cannot prevent a <glossary tag="control">control's</glossary> size from being changed by <glossary tag="trap">trapping</glossary> this <keyword tag="message box">message</keyword>.</p>
  </description>
</doc>