PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Modal opening
  • Opening in multi-windowing
  • Opening in MDI (Multi Document Interface)
  • POPUP opening
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
How to open a window?
There are different methods for opening or linking windows in an application:
Modal opening
This opening mode is the most common one.
The window that is opened is positioned above the previous windows and it locks the access to the windows found underneath. Generally, most of the application windows (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 by programming.
  • Close is used to close this window and to give focus back to the window found below.
Opening in multi-windowing
This opening mode is less used than the Modal mode.
The window that is opened is positioned above the previous windows but the access to the windows found below is not locked. The user can click a window that is positioned below, this one will be displayed above (in the foreground).
For example, a person can open the form of a customer who is waiting at the desk and he can open another customer form to compare the results, to answer over the phone, ... Therefore, 2 form windows can be opened.
Generally, all the application windows are not opened in multi-windowing mode. Only some windows are opened in this mode. These windows are called "child" windows or "sibling" windows.
The programming that must be used to manage several windows opened at the same time may be complex, especially regarding the management of file contexts or the management of global variables. The number of windows opened at the same time should not exceed 10.
Furthermore, the end user may find it complex to manage several windows opened and accessible at the same time.
Operating mode:
  • OpenChild and OpenSister are used to open a window in multi-windowing mode.
  • The first opened window always remains below, this window is called the "Parent" window. The windows opened above the first window in multi-windowing mode always remain above the first window but they can change position between themselves, these windows are called "child" windows.
  • If a window is opened above in Modal mode, all the windows found below are inaccessible.
Opening in MDI (Multi Document Interface)
This opening mode is less used than the Modal mode. This opening mode is very similar to the Multi-windowing mode.
The window that is opened is positioned above the previous windows but the access to the windows found below is not locked. The user can click a window that is positioned below, this one will be displayed above (in the foreground).
For example, a person can open the form of a customer who is waiting at the desk and he can open another customer form to compare the results, to answer over the phone... Therefore, 2 form windows can be opened.
In most cases, only some windows are opened in MDI mode. These windows are called "child" windows or "sibling" windows.
The programming that must be used to manage several windows opened at the same time may be complex, especially regarding the management of file contexts or the management of global variables. The number of windows opened at the same time should not exceed 10.
Furthermore, the end user may find it complex to manage several windows opened 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. The windows opened above the first window in MDI mode always remain inside the first window but they can change position between themselves, these windows 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 the windows found below are inaccessible
POPUP opening
A POPUP window is a window that is displayed above another window at mouse position. This window is automatically closed as soon as a click is performed outside this window.
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:
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment