Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Pop-up windows – PB Docs 2019 – PowerBuilder Library

Pop-up windows – PB Docs 2019

Pop-up windows

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.

Using pop-up windows

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.

Explicitly naming a
parent

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:

You can also explicitly name a pop-up window’s parent when you
use Open in this way:

For example, the following statement opens w_popup and makes
w_parent its parent:

However, there are also other considerations regarding which
window becomes the parent of an opened window.

For more information, see the section called “Open” in PowerScript Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x