pulldown | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Displays a pulldown menu whose whose menu items are buttons in a stack. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Keyword: menu Property: borderWidth, style, menuHistory, menuMode, menuMouseButton, showBorder Message: mouseDown, menuPick Command: option, popup Object: stack, button Glossary: property, menu item, stack menu, button, handler, OS X, menu bar, message, menu, Mac OS, command | ||||||
Description | Use the pulldown command to display a stack menu as a pulldown menu in situations where it is not possible to attach the menu to a button (for example, if the contents of the menu are not known in advance). Use the pulldown command in a mouseDown handler to display the menu :
While the menu is displayed, the handler pauses. The menu appears aligned with the left edge of the control containing the handler. The menu appears below the control, if there is room on the screen. Choosing a menu item from the menu sends a mouseUp message to the stack.
| ||||||
Tags | menus |