WindowClose()

Previous Next

Closes a window.

Syntax

WindowClose([<mode>])

Parameters

mode

If set to AFTER_SAVE, any unsaved data is saved automatically. If set to IMMEDIATE, the table is closed without saving any changed data.

If the parameter is not provided, the user is prompted with a dialog to save the data when changes to the data have been made. If any other value is supplied, the method is ignored.