<doc>
  <legacy_id>2505</legacy_id>
  <name>menuLines</name>
  <type>property</type>
  <syntax>
    <example>set the menuLines of <i>button</i> to <i>number</i></example>
  </syntax>
  <library></library>
  <objects>
    <button/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Menus</category>
  </classification>
  <references>
    <property tag="menuMode">menuMode Property</property>
    <command tag="option">option Command</command>
  </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 the number of visible lines in a drop-down list menu belonging to a <keyword tag="button">button</keyword>.</summary>
  <examples>
    <example>set the menuLines of button "Options" to 10</example>
  </examples>
  <description>
    <p>Use the <b>menuLines</b> <glossary tag="property">property</glossary> to control the appearance of <glossary tag="combo box">combo box</glossary> or option <function tag="menus">menus</function>.</p><p/><p><b>Value:</b></p><p>The <b>menuLines</b> of a <keyword tag="button">button</keyword> is a positive <keyword tag="integer">integer</keyword>.</p><p/><p>By default, the <b>menuLines</b> <glossary tag="property">property</glossary> of newly created <glossary tag="button">buttons</glossary> is set to 5.</p><p/><p><b>Comments:</b></p><p>When a menu containing a drop-down list opens, it displays a fixed number of lines (with a scrollbar to access any additional lines). The <b>menuLines</b> <glossary tag="property">property</glossary> specifies how many lines are displayed at a time.</p><p/><p>This property affects only buttons whose <b>menuMode</b> <glossary tag="property">property</glossary> is set to "option" (on <glossary tag="Unix">Unix</glossary> and <glossary tag="Windows">Windows systems</glossary> only) or "comboBox". Other <keyword tag="menu">menu</keyword> types are not affected by the setting of the <b>menuLines</b>.</p><p/><p>If the button's <b>style</b> <glossary tag="property">property</glossary> is not<code> menu</code>, the setting of the <b>menuLines</b> <glossary tag="property">property</glossary> has no effect.</p>
  </description>
</doc>