This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


ActionMenu[name, {lbl1:>act1, lbl2:>act2, ...}]
represents an action menu with label name, and with items labeled lbli, that evaluates the expression acti if the corresponding item is chosen.
  • name and the lbli can be any expressions.
  • ActionMenu by default displays name and the lbli in "ActionMenu" style, which typically uses the system menu font.
  • In ActionMenu[name, list], Delimiter can appear as an element of list, specifying a horizontal delimiter in the displayed menu.
  • The following options can be given:
AppearanceAutomaticthe overall appearance of the menu
BaseStyle{}base style specifications for the menu
EnabledAutomaticwhether the menu is enabled, or grayed out
EvaluatorAutomaticthe kernel in which to evaluate the acti
FieldSize{{1,50},{1,10}}the size of the field for menu items
FrameMarginsAutomaticmargins to leave inside the menu frame
ImageMargins0margins around the image of the displayed menu
ImageSizeAutomaticthe overall image size of the displayed menu
Nonedisplay only name, without modification
Automaticdisplay in a special action menu form (default)
"PopupMenu"display like a popup menu with initial value name
"Button"display like a button
  • The settings for BaseStyle are appended to the default style typically given by the "ActionMenu" style in the current stylesheet.
Create an action menu that prints the result of an evaluation:
Click for copyable input
Create an action menu that performs a simple assignment operation:
Click for copyable input
New in 6