# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
set the menuName of button to stack
# Examples
set the menuName of button "Popup" to "Items"
# Description
Use the menuName property to associate a stack menu with a button.
When the button is clicked, the specified stack is opened as a menu. The appearance and behavior of the menu depend on the setting of the button's menuMode property.
If the button's style property is not menu, the setting of this property has no effect.
# Tags
# See
- **keyword:** text, menu, button - **property:** menuMode, menuHistory, menuMouseButton, menubar - **message:** menuPick - **command:** option - **object:** stack, button - **glossary:** property, stack menu, object reference