Maplets[Examples]
Confirm
display a confirmation dialog Maplet application
Calling Sequence
Parameters
Description
Examples
Confirm(msg, opts)
msg
-
string or symbol
opts
equation(s) of the form option=value where option is one of title or type; specify options for the Maplet application
The Confirm(msg) calling sequence displays a Maplet application that requests a confirmation from the user. The user can select one of Yes, No, or Cancel. The value returned is true, false, or FAIL, respectively.
The Confirm sample Maplet worksheet describes how to write a Maplet application that behaves similarly to this routine by using the Maplets[Elements] package.
The opts argument can contain one or more of the following equations that set Maplet application options.
title = string or symbol
Specifies the Maplet application title. By default, the title is Confirmation.
type = `error`, plain, question, or warning
The confirmation type. By default, plain. This option determines the icon that is located left of the text.
with⁡MapletsExamples:
Confirm⁡Close and return the result?,type=question
See Also
Confirm Sample Maplet
Maplets[Elements]
Maplets[Elements][ConfirmDialog]
Overview of Maplet Applications
Download Help Document