is a symbol returned when notebook input is canceled, for example from a dialog box.
$Canceled
is a symbol returned when notebook input is canceled, for example from a dialog box.
Examples
Basic Examples (1)
Display a dialog window with a cancel button:
When the button is clicked, the value $Canceled is returned as the value of the DialogInput:
History
Text
Wolfram Research (2007), $Canceled, Wolfram Language function, https://reference.wolfram.com/language/ref/$Canceled.html.
CMS
Wolfram Language. 2007. "$Canceled." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$Canceled.html.
APA
Wolfram Language. (2007). $Canceled. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$Canceled.html
BibTeX
@misc{reference.wolfram_2025_$canceled, author="Wolfram Research", title="{$Canceled}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/$Canceled.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$canceled, organization={Wolfram Research}, title={$Canceled}, year={2007}, url={https://reference.wolfram.com/language/ref/$Canceled.html}, note=[Accessed: 08-August-2025]}