User Guide

Chapter 112
Interface elements
The Lingo terms in this section are useful for working with interface elements.
Menus
Use these terms to create menus:
Buttons and check boxes
Use these terms to specify buttons and check boxes:
Keys
The Lingo terms in this section are related to using the keyboard.
Identifying keys
Use these terms to identify keys:
Keyboard interaction
Use
keyPressed(), lastEvent(), and lastKey to detect what the user types at the keyboard.
Keyboard events
Use these terms to set up handlers that respond to pressing keys:
enabled name (menu item property)
installMenu number (menu items)
menu number (menus)
name (menu property) script
alert checkBoxType
buttonStyle checkMark
buttonType hilite (cast member property)
checkBoxAccess
charToNum() keyPressed()
commandDown mouseChar
controlDown numToChar()
key() optionDown
keyCode() shiftDown
on keyDown keyDownScript
on keyUp keyUpScript
flushInputEvents