<doc>
  <legacy_id>1668</legacy_id>
  <name>focusOut</name>
  <type>message</type>
  <syntax>
    <example>focusOut</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <message tag="closeField">closeField Message</message>
    <message tag="exitField">exitField Message</message>
    <message tag="suspendStack">suspendStack Message</message>
    <command tag="focus">focus 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="button">button</keyword> or <keyword tag="field">field</keyword> when it becomes inactive (loses <command tag="focus">focus</command>).</summary>
  <examples>
    <example>on focusOut</p><p><code><i> -- if you set the textStyle on focusIn, use a handler like this</i></code></p><p><code><i> -- handler to remove the styling when the control loses focus</i></code></p><p>set the textStyle of the target to empty</p><p>end focusOut</example>
  </examples>
  <description>
    <p>Handle the <b>focusOut</b> <keyword tag="message box">message</keyword> if you want to perform preparation or do other tasks when a <keyword tag="control">control</keyword> loses the <glossary tag="focus">keyboard focus</glossary>.</p>
<p>&nbsp;</p>
<p><b>Comments:</b></p>
<p>If the control is an unlocked field or a button whose <b>menuMode</b> is "comboBox", the <message tag="closeField">closeField</message> or <message tag="exitField">exitField</message> <keyword tag="message box">message</keyword> is sent to it instead of the <b>focusOut</b> <keyword tag="message box">message</keyword>.</p>
  </description>
</doc>