Action
Closes the dialog without accepting the values specified there.
Syntax
dialogbox. Dismiss ( )
Notes
Dismiss closes a dialog by clicking the
Cancel button, thus not accepting the values specified in the dialog. To use a different button for a particular dialog, define a variable named
wDismissButton (of type WINDOW) in the dialog declaration, and set it to the name of the button to click.
Example
[ ] ClearFile ()
[ ] TextEditor.File.New.Pick ()
[-] if (SaveMessage.Exists (5))
[ ] SaveMessage.Dismiss ()