SET INTERACTIVECLOSE ON | OFF | QUERY
  

When sets to OFF the windows can’t be closed with ALT+F4 or Clicking [X]. When set to QUERY, the user is asked for confirmation. Using MAIN clause, user will be asked on close only for main program window.

SYNTAX

SET INTERACTIVECLOSE ON | OFF| QUERY [MAIN]