<doc>
  <legacy_id>1574</legacy_id>
  <name>menuName</name>
  <type>property</type>
  <syntax>
    <example>set the menuName of <i>button</i> to <i>stack</i></example>
  </syntax>
  <library></library>
  <objects>
    <button/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Menus</category>
  </classification>
  <references>
    <command tag="option">option Command</command>
    <property tag="menuHistory">menuHistory Property</property>
    <property tag="menubar">menubar Property</property>
    <property tag="menuMode">menuMode Property</property>
    <message tag="menuPick">menuPick Message</message>
    <property tag="menuMouseButton">menuMouseButton 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 the <object tag="stack">stack</object> where the <keyword tag="menu">menu</keyword> associated with a <keyword tag="button">button</keyword> is located.</summary>
  <examples>
    <example>set the menuName of card button "Popup" to stack "Items"</example>
  </examples>
  <description>
    <p>Use the <b>menuName</b> <glossary tag="property">property</glossary> to associate a <glossary tag="stack menu">stack menu</glossary> with a <keyword tag="button">button</keyword>.</p><p/><p><b>Value:</b></p><p>The <b>menuName</b> of a button is a <href tag="reference/object_reference.rev">stack reference</href>.</p><p/><p>By default, the <b>menuName</b> <glossary tag="property">property</glossary> of newly created <glossary tag="button">buttons</glossary> is set to empty.</p><p/><p><b>Comments:</b></p><p>When the button is clicked, the specified stack is opened as a menu. The appearance and behavior of the menu depend on the setting of the button's <b>menuMode</b> <glossary tag="property">property</glossary>.</p><p/><p>If the <b>menuName</b> of a <keyword tag="button">button</keyword> is empty, its <keyword tag="text">text</keyword> is used as the contents of the <keyword tag="menu">menu</keyword>.</p><p/><p>If the button's <b>style</b> <glossary tag="property">property</glossary> is not<code> menu</code>, the setting of this property has no effect.</p>
  </description>
</doc>