menuButton | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | menuobject | ||||||
Summary | Returns the name of the button that triggered display of a stack menu. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: me, menu, button Property: menuHistory, menuMouseButton, name, menuName Command: option Object: stack Glossary: handler, stack menu, property, trigger, return Control Structure: function | ||||||
Description | Use the menuButton function within a handler in a stack menu to determine which button opened the menu. | ||||||
Tags | menus |