menuLines

Specifies the number of visible lines in a drop-down list menu belonging to a button.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the menuLines of button to number

# Examples

set the menuLines of button "Options" to 10

# Description

Use the menuLines property to control the appearance of combo box or option menus.

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 menuLines property specifies how many lines are displayed at a time.

This property affects only buttons whose menuMode property is set to "option" (on Unix and Windows only) or "comboBox". Other menu types are not affected by the setting of the menuLines.

If the button's style property is not menu, the setting of the menuLines property has no effect.

# Tags

menus,

# See

- **keyword:** integer, menu, button - **property:** menuMode - **command:** option - **function:** menus - **glossary:** property, Unix, Windows, combo box - **object:** button

Site Owned by: David Bovill