|
|
|
|
|
- Modal opening
- Modeless window
- Opening in MDI (Multi Document Interface)
- POPUP opening
There are different methods for opening or linking windows in an application: This is the most common opening mode. The window that is opened is positioned above the previous windows and blocks the access to the windows below. Generally, most windows of an application (or all of them) are opened in Modal mode. This allows the developer and the user to easily manage the sequence of windows. Operating mode: - Open is used to open a window in Modal mode. The controls found in the windows located below can be accessed programmatically.
- Close is used to close this window and to give focus back to the window found below.
This opening mode is less common than the Modal mode. The window that is opened is positioned above the previous windows but the user can still access the windows below. The user can click on a window below, and it will move to the foreground. For example, a person can open a window with the details of a customer who is at the counter, and then open a second window to compare results, answer a customer on the phone, etc. Generally, not all the windows of an application are modeless. Only some windows are opened in this mode. These windows are called "child" windows or "sibling" windows. The programming required to manage several windows simultaneously may be complex, especially the management of data file contexts or global variables. There should not be more than 10 windows open at any given time. Furthermore, the end user may find it difficult to manage multiple windows open and accessible at the same time. Operating mode: - OpenChild and OpenSister are used to open modeless windows.
- The first opened window always remains below, this window is called the "Parent" window. Modeless windows always remain above the first window, but can switch positions. These are called "child" windows
- If a window is opened above in Modal mode, all windows below are inaccessible.
Opening in MDI (Multi Document Interface) This opening mode is less common than the Modal mode. This opening mode is very similar to the modeless mode. The window that is opened is positioned above the previous windows but the user can still access the windows below. The user can click on a window below, and it will move to the foreground. For example, a person can open a window with the details of a customer who is at the counter, and then open a second window to compare results, answer a customer on the phone, etc. In most cases, only some windows are opened in MDI mode. These windows are called "child" windows or "sibling" windows. The programming required to manage several windows simultaneously may be complex, especially the management of data file contexts or global variables. There should not be more than 10 windows open at any given time. Furthermore, the end user may find it difficult to manage multiple windows open and accessible at the same time. Operating mode: - MDIOpen is used to open a window in MDI mode.
- Visually, the first opened window always remains below. This window is called "MDI parent" window. Windows opened in MDI mode above the first window always remain inside the first window, but can change positions. These are called "MDI child" windows.
- To use the opening mode in MDI, specify in the characteristics of the window whether it is "MDI parent" or "MDI child".
- If a window is opened above in Modal mode, all windows below are inaccessible
A POPUP window is a window that is displayed above another window at mouse position. This window closes automatically when the users clicks outside it. This type of window may be be very useful to fill a form while lightening the main window. This display mode can also be very useful to display additional information on a screen. Operating mode:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|