The open window statement opens a specified window.
open window window_name {as modal | as dropdialog}
• window_name – The name of the window to be opened.
• as modal – Including this clause causes the window to be opened as a modal window, regardless of how the WindowType property is set for the window.
• as dropdialog – This clause is used in the command script for actions that appear in the ribbon (Action Pane) for a data list. It causes the window to be opened as a drop dialog window, which appears below the ribbon. A drop dialog is shown in the following illustration:
This statement is needed to open windows for which the AutoOpen property is set to false. A window with the AutoOpen property set to true is automatically opened when the form it belongs to is opened.