1 CAPI Reference Entries

exit-dialog

Function

Summary

Theexit-dialog function exits the current dialog.

Syntax

exit-dialog value

Description

This function is the means to successfully return a value from the current dialog. Hence, it might be called from an OK button so that pressing the button would cause the dialog to return successfully, whilst the Cancel button would call the counterpart function abort-dialog.

Example

(capi:display-dialog
  (capi:make-container
    (make-instance 'capi:text-input-pane
                   :callback-type :data
                   :callback 'capi:exit-dialog)
    :title "Test Dialog"))

Example File

capi/elements/dialogs.lisp

See Also

abort-dialog
display-dialog
popup-confirmer
interface


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker