Delete a window
- Last UpdatedJul 26, 2024
- 1 minute read
If you add a window to an existing application that has a window with the same name, you must delete the existing window. You can delete the existing window using the WindowMaker command file.
Important: An error message does not appear if the window selected to delete does not exist.
A message appears in the Logger if an existing window cannot be deleted. No user interaction is required.
You enter a sequence of commands in your command file to delete a window from an InTouch application. A command file can include several delete window command sequences.
The following example shows the command sequence to delete a window from an InTouch application:
.WINDOWMAKERCOMMANDFILE
.VERSION=1
.WINDOWDELETE
.WINDOWNAME=Window002
.GO