<doc>
  <legacy_id>1546</legacy_id>
  <name>mouseStillDown</name>
  <type>message</type>
  <syntax>
    <example>mouseStillDown <i>mouseButtonNumber</i></example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <command tag="click">click Command</command>
    <function tag="clickLoc">clickLoc Function</function>
    <function tag="mouse">mouse Function</function>
    <message tag="mouseDoubleDown">mouseDoubleDown Message</message>
    <message tag="mouseDown">mouseDown Message</message>
    <message tag="mouseRelease">mouseRelease Message</message>
    <message tag="mouseUp">mouseUp Message</message>
    <property tag="repeatDelay">repeatDelay Property</property>
  </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 periodically while the <glossary tag="mouse button">mouse button</glossary> is being held down.</summary>
  <examples>
  </examples>
  <description>
    <p>You can handle the <b>mouseStillDown</b> message to perform an action when the user holds the <glossary tag="mouse button">mouse button</glossary> down.</p><p/><p><b>Parameters:</b></p><p>The <i>mouseButtonNumber</i> specifies which <glossary tag="mouse button">mouse button</glossary> was pressed:</p><p>        * 1 is the mouse button on Mac OS systems and the left button on Windows and Unix systems.</p><p>        * 2 is the middle button on Unix systems.</p><p>        * 3 is the right button on Windows and Unix systems and Control-click on Mac OS systems.</p><p/><p><b>Comments:</b></p><p>The <b>mouseStillDown</b> <keyword tag="message box">message</keyword> is sent to the <keyword tag="control">control</keyword> that was originally clicked, or to the <keyword tag="card">card</keyword> if no <keyword tag="control">control</keyword> was under the <glossary tag="mouse pointer">mouse pointer</glossary>.</p><p/><p>The period between <b>mouseStillDown</b> <glossary tag="message">messages</glossary> is specified by the <property tag="idleRate">idleRate</property> and <property tag="idleTicks">idleTicks</property> <property tag="properties">properties</property>.</p><p/><p>The <b>mouseStillDown</b> <keyword tag="message box">message</keyword> is sent only when the <glossary tag="Browse tool">Browse tool</glossary> is being used. If an <glossary tag="unlock">unlocked</glossary> <keyword tag="field">field</keyword> is clicked with <glossary tag="mouse button">mouse button</glossary> 1 or 2, no <b>mouseStillDown</b> <keyword tag="message box">message</keyword> is sent.</p><p/><p>Usually, it is easier and more efficient to use the <b>mouseMove</b> <keyword tag="message box">message</keyword> to track the movement of the mouse while the <keyword tag="button">button</keyword> is being held down.</p><p/><p><code/><b>Note:</b><code/> If there is no <b>mouseStillDown</b> <glossary tag="handler">handler</glossary> in the target <glossary tag="object">object's</glossary> <property tag="script">script</property>, no <b>mouseStillDown</b> <keyword tag="message box">message</keyword> is sent, even if there is a <b>mouseStillDown</b> <glossary tag="handler">handler</glossary> in an <glossary tag="object">object</glossary> that's further along the <glossary tag="message path">message path</glossary>.</p>
  </description>
</doc>