<doc>
  <legacy_id>1622</legacy_id>
  <name>menuMouseButton</name>
  <type>property</type>
  <syntax>
    <example>set the menuMouseButton of <i>button</i> to {zero |<i> buttonNumber</i>}</example>
  </syntax>
  <library></library>
  <objects>
    <button/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Menus</category>
  </classification>
  <references>
    <command tag="pulldown">pulldown Command</command>
    <function tag="menuButton">menuButton Function</function>
    <property tag="menuName">menuName Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Specifies which <glossary tag="mouse button">mouse button</glossary> can be used to access the <keyword tag="menu">menu</keyword> associated with a <keyword tag="button">button</keyword>.</summary>
  <examples>
    <example>set the menuMouseButton to 3</example>
  </examples>
  <description>
    <p>Use the <b>menuMouseButton</b> <glossary tag="property">property</glossary> to limit a <keyword tag="menu">menu</keyword> so it can only be accessed with a specific <glossary tag="mouse button">mouse button</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>menuMouseButton</b> is an <keyword tag="integer">integer</keyword> between zero and 3.</p><p/><p>By default, the <b>menuMouseButton</b> <glossary tag="property">property</glossary> of newly created <glossary tag="button">buttons</glossary> is set to zero.</p><p/><p><b>Comments:</b></p><p>If the <b>menuMouseButton</b> is zero, any <glossary tag="mouse button">mouse button</glossary> can be used to open the <keyword tag="menu">menu</keyword>. If the <b>menuMouseButton</b> is a number from 1 to 3, only that <glossary tag="mouse button">mouse button</glossary> opens the <keyword tag="menu">menu</keyword>.</p><p/><p>The <i>mouseButtonNumber</i> specifies which <glossary tag="mouse button">mouse button</glossary> was pressed:</p><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) or Control-click (on Mac OS and OS X systems.</p>
  </description>
</doc>