CancelButton

CancelButton[]

represents a Cancel button in a dialog that closes the dialog window when clicked.

CancelButton[action]

represents a button labeled Cancel that evaluates action when clicked.

CancelButton[label,action]

uses label as the label for the button.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Create dialog input and use CancelButton to cancel the action:

In[1]:=
Click for copyable input
Out[1]=

Applications  (2)

Properties & Relations  (3)

See Also

Button  DefaultButton  ChoiceButtons  DialogReturn  DialogInput  CreateDialog

Tutorials

Introduced in 2007
(6.0)