option

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
option
Summary

Specifies one of the menu types that can be used with the menuMode property.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
set the menuMode of button "Style" to option
RelatedKeyword: menu, popup
Glossary: property, keyword, popup menu, combo box
Property: lookAndFeel, menuMode
Description

Use the option keyword to create a popup, option, or drop-down menu.

If the lookAndFeel property is set to "Appearance Manager" or "Macintosh", the option keyword designates a popup menu. If the lookAndFeel is "Motif", the option keyword designates an option menu. If the lookAndFeel is "Windows 95", the option keyword designates a drop-down list similar to a combo box.

Option menus are normally used to designate a state. Choosing an item from an option menu changes the menu's current setting, making this menu type suitable for situations in which the user must choose one of the predefined states.

Tagsmenus