|
<< Click to Display Table of Contents >> Manual > Screen Creation Guide > Forms and Dialogs/Frames/Views > User Dialogs > User Dialog Hierarchy |
User Dialog Hierarchy
Dialog-related methods are provided as common methods. For example, they can be executed as object methods such as "this.OpenDialog(...)" or "parent.OpenDialog(...)", or as root methods such as "::OpenDialog(...)". Regardless of how they are called, the dialog will not be hidden behind the form, but when multiple dialogs are displayed at the same time, there is a difference in the behavior of the hierarchy display between the two.
■ When executed as a form method
When you display a dialog as a form method, such as "this.OpenDialog(...)", the displayed dialog will always be displayed in front of the object that called it.
Furthermore, even if you display another dialog from the form of the displayed dialog using "this.OpenDialog(...)", the dialog displayed later will be displayed in front of the dialog displayed earlier, and will not be hidden behind the dialog that called it, even if you click on it.
■ When executed as a route method
If multiple dialogs are displayed as a root method such as "::OpenDialog(...)", each dialog will be positioned as being at the same level.
Therefore, you can freely move between multiple dialogs using the mouse.