Next Previous Up Top Contents Index

9.4 DUIM-Frames Module

dialog-exit-enabled?-setter

Generic function

Summary

Enables or disables the Exit button for the specified dialog.

Signature

dialog-exit-enabled?-setter enabled? dialog => enabled?

Arguments

enabled?
An instance of type <boolean>.

dialog
An instance of type <dialog-frame>.

Values

enabled?
An instance of type <boolean>.

Library

duim-frames

Module

duim-frames

Description

Enables or disables the Exit button for dialog. The Exit button is commonly found in multi-page dialogs, where the user is given the option to exit the sequence at any point (as well as navigate through the sequence using Next and Back buttons).

Example

In this example, a dialog is created, and then its exit button is disabled. When displayed on the screen, the exit button is grayed out and you cannot click on it.

define variable *dialog* = 
         make(<dialog-frame>,
              exit-button?: #t,
              cancel-button?: #t, 
              help-callback: 
                method (gadget) 
                  notify-user
                    (format-to-string
                       ("Here is some help",
                        gadget))
                end);
dialog-exit-enabled?-setter(#f, *dialog*);
start-frame(*dialog*);

See also

dialog-exit-button, page 754

dialog-exit-button-setter, page 755

dialog-exit-enabled?, page 758

dialog-exit-callback, page 756


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index