This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Built-in Mathematica SymbolSee Also »

ButtonData

ButtonData
is an option for the low-level function ButtonBox which specifies the second argument to give to the ButtonFunction for the button when the button is active and is clicked.
  • ButtonData provides a convenient way to associate additional data with a button that does not affect the display of the button.
Create a button that prints out its ButtonData value:
In[1]:=
Click for copyable input
New in 3