The CloseWindow command is recorded when a user manually closes a window.
CloseWindow dictionary dictionary_name form form_name window window_name
• dictionary_name - The name of the dictionary. The 'default' parameter can also be used, indicating the current main application dictionary will be used.
• form_name - The name of the form containing the window being closed.
• window_name - The name of the window being closed.
A message will be displayed if the specified window is no longer open when the CloseWindow command is executed.