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

Documentation / Mathematica / Built-in Functions / New in Version 3.x / Notebooks /


FilledSmallSquare ButtonBox[boxes] represents a button in a notebook, displaying boxes and performing an action when it is clicked on.

FilledSmallSquare The default action is to paste boxes at your current insertion point.

FilledSmallSquare Other actions can be specified using options.

FilledSmallSquare ButtonBox objects are used to implement palette buttons, hyperlinks and other active elements in notebooks.

FilledSmallSquare ButtonBox objects are active when either they or the cell that contains them has the option Active->True.

FilledSmallSquare When ButtonBox objects are active, they perform an action whenever they are clicked on. Otherwise, clicking on them simply selects them or their contents.

FilledSmallSquare ButtonBox[boxes, ButtonStyle->"style"] takes the properties of the ButtonBox from the specified style. The style for a ButtonBox can specify both its appearance and its action.

FilledSmallSquare The following options affecting button appearance can be given:

FilledSmallSquare The following options affecting button action can be given:

FilledSmallSquare ButtonBox[ ... ] is by default interpreted as Button[ ... ] if it is given as input to the Mathematica kernel.

FilledSmallSquare See Section 2.9.10 and Section 2.11.6.

FilledSmallSquare See also: Dialog, Input.

FilledSmallSquare New in Version 3.

Further Examples