Pop-up windows are typically opened from another window, which in most cases becomes the pop-up window's parent.
Using the application's Open event If you open a pop-up window from the application's Open event, the pop-up window does not have a parent and works the same way a main window works.
A pop-up window can display outside its parent window. It cannot be overlaid by its parent. A pop-up window is hidden when its parent is minimized and when its parent is closed. When you minimize a pop-up window, the icon for the window displays at the bottom of the desktop.
Pop-up windows are often used as supporting windows. For example, say you have a window containing master information, such as film listings. You can use a pop-up window to allow a user to see details of a particular entry.
In most cases, the window that opens a pop-up window becomes that window's parent. For example, if a script in w_go has this statement, w_go is the parent of w_popup:
Open(w_popup)
You can also explicitly name a pop-up window's parent when you use Open in this way:
Open (popupwindow, parentwindow)
For example, the following statement opens w_popup and makes w_parent its parent:
Open(w_popup, w_parent)
However, there are also other considerations regarding which window becomes the parent of an opened window.
For more information, see the Open function in the PowerScript Reference.