The NewActiveWin command indicates which window is the new active window. It is used in the macro only to indicate which window has become active. It doesn’t actually open the window.
NewActiveWin 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 that became active.
• window_name - The name of the window that became active.
A special version of this command is used when a message is displayed in a modal dialog by Dexterity or the runtime engine. In this situation, the form_name and window_name parameters are both DiaLog. The content of the message is stored as a comment in the line immediately before the line containing the NewActiveWin command in the macro file.