modgenSaveOnClosePreviewWindow
layoutXL modgenSaveOnClosePreviewWindow cyclic { "prompt" | "yes" | "no" }
Description
Specifies the behavior when the Modgen Previewer window is closed. When set to prompt, a pop-up message is displayed requesting for confirmation whether changes to the Modgen need to be saved. Choose Yes to save changes, and No to discard changes. Click Cancel to reject the closing of the window.
When set to yes, no pop-up is displayed. Instead, all modifications are saved and the Modgen Previewer window is closed.
When set to no, no pop-up is displayed. Instead, all modifications are discarded and the Modgen Previewer window is closed.
GUI Equivalent
Examples
envGetVal("layoutXL" "modgenSaveOnClosePreviewWindow")
envSetVal("layoutXL" "modgenSaveOnClosePreviewWindow" 'cyclic "yes")
envSetVal("layoutXL" "modgenSaveOnClosePreviewWindow" 'cyclic "no")
Related Topics
Open Modgens in the Modgen Editor
Closing and Regenerating a Modgen
Return to top