Confirm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Maplets[Examples]

  

Confirm

  

display a confirmation dialog Maplet application

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Confirm(msg, opts)

Parameters

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

Description

• 

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.

Examples

withMapletsExamples:

ConfirmClose and return the result?,type=question

See Also

Confirm Sample Maplet

Maplets[Elements]

Maplets[Elements][ConfirmDialog]

Maplets[Examples]

Overview of Maplet Applications