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:

Applications  (2)

Create a dialog with both a default button and a cancel button:

Create a dialog with a close button:

Properties & Relations  (3)

CancelButton is a special case of Button:

Create a dialog with a cancel button; the dialog is dismissed by clicking the button or pressing :

Create a dialog that holds evaluations until the dialog is dismissed:

Wolfram Research (2007), CancelButton, Wolfram Language function, https://reference.wolfram.com/language/ref/CancelButton.html.

Text

Wolfram Research (2007), CancelButton, Wolfram Language function, https://reference.wolfram.com/language/ref/CancelButton.html.

BibTeX

@misc{reference.wolfram_2020_cancelbutton, author="Wolfram Research", title="{CancelButton}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CancelButton.html}", note=[Accessed: 06-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_cancelbutton, organization={Wolfram Research}, title={CancelButton}, year={2007}, url={https://reference.wolfram.com/language/ref/CancelButton.html}, note=[Accessed: 06-May-2021 ]}

CMS

Wolfram Language. 2007. "CancelButton." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CancelButton.html.

APA

Wolfram Language. (2007). CancelButton. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CancelButton.html