menuLines | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | button | ||||||
Summary | Specifies the number of visible lines in a drop-down list menu belonging to a button. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer, menu, button Property: menuMode Command: option Function: menus Glossary: property, Unix, Windows, combo box Object: button | ||||||
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 systems 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 |