Next Previous Up Top Contents Index

1 CAPI Reference Entries

abort-dialog

Function

Summary

Theabort-dialog function aborts the current dialog.
Syntax

abort-dialog &rest ignored-args

Description

This function is used to abort the current dialog. For example, it can made a selection callback from a Cancel button so that pressing the button aborts the dialog. In a similar manner the complementary functionexit-dialog can be used as a callback for an OK.
Example

(capi:display-dialog
  (capi:make-container
    (make-instance 'capi:push-button
                   :text "Cancel"
                   :callback 'capi:abort-dialog)
                   :title "Test Dialog"))

See also

exit-dialog
display-dialog
popup-confirmer
interface

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker