


The close button may be missing for various reasons. On Apple macOS, the close button is a red "X" button in the window's top-left corner, as shown in the image.

Clicking the X for the Document1 tab closes only the Document1 document window, but leaves the TextPad program open. The close program button is a red box shown in the example below, with another X for the Document1 tab. Clicking any "X" below the top-right corner "X" closes that specific document, file, tab, or window in the program, but not the entire program. If a program has multiple documents, files, tabs, or windows open, clicking the "X" at the top-right corner (top-left on macOS) closes everything.
