CAPI User Guide, Liquid Common Lisp Version 5.0

8 Prompting for Input

A dialog is a window that receives some input from the user and returns it to the application. For instance, if the application wants to know where to save a file, it could prompt the user with a file dialog. Dialogs can also be cancelled, meaning that the application should cancel the current operation.

In order to let you know whether or not the dialog was cancelled, CAPI dialogs always return two values. The first value is the return value itself, and the second value ist if the dialog returned normally andnil if the dialog was cancelled.

The CAPI provides both a large set of predefined dialogs and the means to create your own. This chapter takes you through some example uses of the predefined dialogs, and then shows you how to create custom built dialogs.

8.1 - Some simple dialogs
8.2 - Prompting for values
8.3 - Creating your own dialogs

CAPI User Guide, Liquid Common Lisp Version 5.0 - 2 OCT 1997

Generated with Harlequin WebMaker