<doc>
  <legacy_id>2293</legacy_id>
  <name>mouseEnter</name>
  <type>message</type>
  <syntax>
    <example>mouseEnter</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <message tag="dragEnter">dragEnter Message</message>
    <function tag="mouseControl">mouseControl Function</function>
  </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 when the <glossary tag="mouse pointer">mouse pointer</glossary> moves into an <glossary tag="object">object</glossary>.</summary>
  <examples>
    <example>on mouseEnter <code><i>-- show a Help field for the control the mouse is over</i></code></p><p>  show field (the short name of the target &amp;&amp; "Help")</p><p>end mouseEnter</example>
  </examples>
  <description>
    <p>Handle the <b>mouseEnter</b> <keyword tag="message box">message</keyword> to perform an action (for example, display additional information or <property tag="hilite">highlight</property> a <keyword tag="button">button</keyword>) when the <glossary tag="mouse pointer">mouse pointer</glossary> enters an <glossary tag="object">object</glossary>.</p><p/><p><b>Comments:</b></p><p>The <b>mouseEnter</b> <keyword tag="message box">message</keyword> is sent only when the <glossary tag="Browse tool">Browse tool</glossary> is being used.</p><p/><p>If two controls overlap, a <b>mouseEnter</b> <keyword tag="message box">message</keyword> is sent whenever the <glossary tag="mouse pointer">mouse pointer</glossary> crosses into a visible portion of a <keyword tag="control">control</keyword>. The <keyword tag="control">control</keyword> on the bottom receives a <b>mouseEnter</b> <keyword tag="message box">message</keyword> only when the <glossary tag="mouse pointer">mouse pointer</glossary> enters part of the <keyword tag="control">control</keyword> that can be seen. A <keyword tag="control">control</keyword> that is completely hidden by another <keyword tag="control">control</keyword> on top of it will never receive a <b>mouseEnter</b> <keyword tag="message box">message</keyword>.</p><p/><p>If the mouse button is down when the mouse pointer enters the control, no <b>mouseEnter</b> <keyword tag="message box">message</keyword> is sent unless the mouse button is released while the pointer is still in the <keyword tag="control">control</keyword>.</p><p/><p>If a control is shown (by changing its <b>visible</b> <glossary tag="property">property</glossary> to true or using the <command tag="show">show</command> <glossary tag="command">command</glossary>), and the <glossary tag="mouse pointer">mouse pointer</glossary> is over the <keyword tag="control">control</keyword> when it is shown, LiveCode sends a <b>mouseEnter</b> <keyword tag="message box">message</keyword> to the <keyword tag="control">control</keyword>.</p>
  </description>
</doc>