FORMULA LANGUAGE


CloseWindow @Command
Example

Closes the current Notes window. If the document or design element in that window has not been saved, Notes prompts the user to save it before closing.

Note This command is new with Release 6.

Syntax

@Command( [CloseWindow] )

Usage

This command executes immediately. Use the FileCloseWindow @command to execute after all @functions. See the Order of evaluation for formula statements topic for more details.

CloseWindow does not close the Notes workspace window.

When using this command on a form in Notes, you can prevent the user from being prompted to save any changes.

You can use this command with Web applications, as long as you enable the "Allow Javascript on the Web" setting on the Basics tab of the Database Properties box. Precede this command with @Command([FileSave]) to simulate a Submit button.

Language cross-reference

Close method of LotusScript NotesUIView class

Example
See Also