Next Prev Up Top Contents Index

prompt-for-confirmation

Function
Summary

The prompt-for-confirmation function pops up a dialog box with a message and Yes and No buttons.

Signature

prompt-for-confirmation message &key screen owner

Arguments

message

A string.

screen

A screen.

owner

An owner window.

Description

This pops up a dialog box containing message , with Yes and No buttons. It returns two values:

a boolean indicating whether Yes was pressed

t (for compatibility with other prompt functions)

owner specifies an owner window for the dialog. See the "Prompting for Input" chapter in the LispWorks CAPI User Guide for details.

Example
(capi:prompt-for-confirmation "Continue?")
See also

confirm-yes-or-no


LispWorks CAPI Reference Manual - 13 Mar 2003

Next Prev Up Top Contents Index