<doc>
  <legacy_id>2383</legacy_id>
  <name>autoArm</name>
  <type>property</type>
  <syntax>
    <example>set the autoArm of <i>button</i> to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <button/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="armFill">armFill Property</property>
    <property tag="armedIcon">armedIcon Property</property>
    <property tag="showHilite">showHilite 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>Specifies whether a <keyword tag="button">button</keyword> becomes <property tag="armed">armed</property> when the <glossary tag="mouse pointer">mouse pointer</glossary> moves into it.</summary>
  <examples>
    <example>set the autoArm of last button to false</example>
    <example>set the autoArm of button "Menu Choices" to true</example>
  </examples>
  <description>
    <p>Use the <b>autoArm</b> <glossary tag="property">property</glossary> to provide visual feedback to the user about which button the <glossary tag="mouse pointer">mouse pointer</glossary> is over. Usually, the <b>autoArm</b> <glossary tag="property">property</glossary> is used for <glossary tag="button">buttons</glossary> that are part of <glossary tag="stack menu">stack menus</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>autoArm</b> of a <keyword tag="button">button</keyword> is true or false.</p><p/><p>By default, the <b>autoArm</b> of newly created <glossary tag="button">buttons</glossary> is false. <glossary tag="menu item">Menu items</glossary> and <glossary tag="cascading menu">cascading menu</glossary> items created with the "New Control" submenu of the Object menu have their <b>autoArm</b> <glossary tag="property">property</glossary> set to true when created.</p><p/><p><b>Comments:</b></p><p>A button whose <b>autoArm</b> <glossary tag="property">property</glossary> is set to true does not receive <message tag="mouseDown">mouseDown</message> <glossary tag="message">messages</glossary>.</p><p/><p>If a button's <b>autoArm</b> <glossary tag="property">property</glossary> is true, it receives <message tag="keyDown">keyDown</message> and <message tag="keyUp">keyUp</message> <glossary tag="message">messages</glossary> for keypresses that occur while the mouse is pressed and the <keyword tag="pointer">pointer</keyword> is over the <keyword tag="button">button</keyword>. If the <glossary tag="button">button's</glossary> <b>autoArm</b> is false, it does not receive key <glossary tag="message">messages</glossary> while being clicked.</p>
  </description>
</doc>