Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Dialog Boxes >

CancelButton

CancelButton[]
represents a Cancel button in a dialog that closes the dialog window when pressed.
CancelButton[action]
represents a button labeled Cancel that evaluates action when pressed.
CancelButton[label, action]
uses label as the label for the button.
  • In dialogs created with DialogInput or CreateDialog, pressing Esc is effectively equivalent to pressing the Cancel button.
  • If there are several Cancel buttons in a single dialog, Esc will use the first one in the dialog.
New in 6
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team