PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview of the "Internal window" control
  • Window control
  • Creating an internal window and associating it with a control
  • Creating an internal window
  • Creating an "Internal window" control
  • Creating an internal window from existing controls
  • Creating an internal window from a window (and conversely)
  • Notes
  • Limitations
  • Applying the project skin-template
  • Applying a window template to an internal window
  • Displaying the preview of the internal windows at100%
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
Overview of the "Internal window" control

Window control

The "Internal Window" control is used to include a window (and its code) in a control found in another window.
At run time, the window to merge ("Internal window" window) will be dynamically merged to the host window.
The "Internal Window" control is used to dynamically share the same interface section between one or more applications. The window to merge (internal window) can also come from a component.
Caution: Do not confuse "Internal Window control" and "Internal window": the "Internal window" control is a type of control while the "Internal window" is a type of window.
Versions 16 and later
Android This control is now available for the Android applications.
New in version 16
Android This control is now available for the Android applications.
Android This control is now available for the Android applications.
Versions 17 and later
iPhone/iPad This control is now available for the iPhone/iPad applications.
AndroidJava You now have the ability to create internal windows with scrollbars.
New in version 17
iPhone/iPad This control is now available for the iPhone/iPad applications.
AndroidJava You now have the ability to create internal windows with scrollbars.
iPhone/iPad This control is now available for the iPhone/iPad applications.
AndroidJava You now have the ability to create internal windows with scrollbars.
Versions 18 and later
Universal Windows 10 App This control is now available for the applications in Windows Store apps mode.
New in version 18
Universal Windows 10 App This control is now available for the applications in Windows Store apps mode.
Universal Windows 10 App This control is now available for the applications in Windows Store apps mode.
Versions 20 and later
WINDEVLinux This control is now available for the WINDEV applications in Linux.
New in version 20
WINDEVLinux This control is now available for the WINDEV applications in Linux.
WINDEVLinux This control is now available for the WINDEV applications in Linux.
Creating an internal window and associating it with a control

Creating an internal window

To create an internal window:
  1. Select "File .. New .. Window".Click New among the quick access buttons.
  2. Click the "Internal window" tab and select "Blank" (select the associated skin template if necessary).Click "Window" in the wheel that is displayed. The wizard for window creation starts automatically.The window for creating a new element is displayed: click "Window" then "Window". The wizard for window creation starts automatically.
  3. Validate to create the window.Click the "Internal window" tab and select "Blank" (select the associated skin template if necessary). Validate to create the window.
An internal window corresponds to a specific type of window. The internal window contains no border, no title bar, no status bar and no background image. It is intended to be displayed in an "Internal window" control.
This type of window is also called "Source window".
Notes:
  • In the "GUI" tab of the description window, you have the ability to specify whether the source window must use the skin template of the target window. To do so, check "Apply the skin template of the project of the host window".
  • A blank internal window can also be created via "File .. New .. Window .. Internal window".A blank internal window can also be created as follows:
    • Click New among the quick access buttons.
    • In the wheel that is displayed, hover "Window" and click "Internal window".The window for creating a new element is displayed: click "Window" then "Internal window".
    • The internal window is automatically created in the editor.
  • Versions 22 and later
    If the internal window is used on different platforms, in portrait or landscape mode, you have the ability to define layouts. See Managing layouts for more details.
    New in version 22
    If the internal window is used on different platforms, in portrait or landscape mode, you have the ability to define layouts. See Managing layouts for more details.
    If the internal window is used on different platforms, in portrait or landscape mode, you have the ability to define layouts. See Managing layouts for more details.

Creating an "Internal window" control

To create an "Internal window" control:
  1. In the window editor, click Internal Window control (or select "Insert .. Special .. Internal Window control").On the "Creation" pane, in the "Containers" group, click "Internal window".
  2. Click the position where the control must be created in the target window. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control. This enables you to select the internal window that will be displayed in the "Internal Window" control when initializing the target window.
Versions 18 and later
AndroidiPhone/iPad You have the ability to scroll the internal windows found in an Internal Window control via a simple finger gesture. See Changing the content of an internal window by gesture for more details.
New in version 18
AndroidiPhone/iPad You have the ability to scroll the internal windows found in an Internal Window control via a simple finger gesture. See Changing the content of an internal window by gesture for more details.
AndroidiPhone/iPad You have the ability to scroll the internal windows found in an Internal Window control via a simple finger gesture. See Changing the content of an internal window by gesture for more details.

Creating an internal window from existing controls

To create an internal window from existing controls:
  1. Select the controls that must be included in the internal window.
  2. Use one of the following methods:
    • Display the popup menu of the selection and select "Refactoring .. Create an internal window from the selection".
    • Select "Control .. Refactoring .. Create an internal window with selection".On the "Modification" pane, in the "Transformations" group, expand "Refactoring and swapping" and select "Create an internal window from the selection".
The Internal Window control and the internal window are automatically created. The internal window is automatically associated with the control.

Creating an internal window from a window (and conversely)

  • To create an internal window from the current window, select "File .. Save as an internal window".To create an internal window from the current window, on the "Home" pane, in the "General" tab, expand "Save" and select "Save as an internal window".
  • To create a window from the current internal window, select "File ..Save as window".To create a window from the current internal window, on the "Home" pane, in the "General" group, expand "Save" and select "Save as a window".
Notes

Limitations

Main menus can be created in the Internal Window controls but they will be disabled.

Applying the project skin-template

If the internal window is included in a component, the skin template of the host project can be applied to the internal window ("Apply the skin template of the host project (component only)" from the "GUI" tab in the description window of the internal window).
This option is ignored if the internal window is not included in a component.
Versions 20 and later

Applying a window template to an internal window

To apply one or more window templates to an internal window:
  1. Display the internal window in the window editor.
  2. On the "Window" pane, in the "Templates" group, expand "Templates" and select "Inherit from a template".
  3. Select the window template to apply.
  4. Validate.
  5. Specify whether the properties of the internal window must be updated from the template. If you answer "Yes", the list of properties to overload is displayed. In this window, you have the ability to select the properties of the internal window to keep. The window template will be automatically overloaded for the properties kept. For all the other characteristics, the internal window will be automatically linked to the template.
  6. Validate.
Note: By default, the size characteristics of the internal window are automatically overloaded.
New in version 20

Applying a window template to an internal window

To apply one or more window templates to an internal window:
  1. Display the internal window in the window editor.
  2. On the "Window" pane, in the "Templates" group, expand "Templates" and select "Inherit from a template".
  3. Select the window template to apply.
  4. Validate.
  5. Specify whether the properties of the internal window must be updated from the template. If you answer "Yes", the list of properties to overload is displayed. In this window, you have the ability to select the properties of the internal window to keep. The window template will be automatically overloaded for the properties kept. For all the other characteristics, the internal window will be automatically linked to the template.
  6. Validate.
Note: By default, the size characteristics of the internal window are automatically overloaded.

Applying a window template to an internal window

To apply one or more window templates to an internal window:
  1. Display the internal window in the window editor.
  2. On the "Window" pane, in the "Templates" group, expand "Templates" and select "Inherit from a template".
  3. Select the window template to apply.
  4. Validate.
  5. Specify whether the properties of the internal window must be updated from the template. If you answer "Yes", the list of properties to overload is displayed. In this window, you have the ability to select the properties of the internal window to keep. The window template will be automatically overloaded for the properties kept. For all the other characteristics, the internal window will be automatically linked to the template.
  6. Validate.
Note: By default, the size characteristics of the internal window are automatically overloaded.

Displaying the preview of the internal windows at100%

By default, the internal windows displayed in the "Internal Window" controls are minimized in the editor.
To display the preview of the internal windows at 100% for the entire project, check "Force the preview of internal windows at 100%" in the edit options of the window editor ("Display .. Options .. Modify the options", "Controls" tab).To display the preview of the internal windows at 100% for the entire project:
  1. On the "Display" pane, click the group icon ( Grouping ) of the "Options" group.
  2. In the "Controls" tab of edit options, check "Force the preview of internal window at 100%".
  3. Validate.
To display the preview of an internal window at 100%, check "Always display the preview at 100%" in the "GUI" tab of the description window of the Internal Window control.
Related Examples:
WD Explorer Bar Sample components (WINDEV): WD Explorer Bar
[ + ] The WD Explorer Bar component is used to manage an address bar similar to the address bar of the explorer found in Windows Vista.
This address bar (also called 'Explorer Breadcrumb') is used to easily navigate in a treeview.
You have the ability to add elements by programming, like a TreeView control.
You also have the ability to fill the address bar via a TreeView control, and even from one or more HFSQL data files.
The navigation in the bar is automatically managed by the component via an internal window.
You also have the ability to branch the call to a WLanguage user procedure when an element is clicked.
WD FTP File Transfer Complete examples (WINDEV): WD FTP File Transfer
[ + ] This example is a full FTP client allowing you to store several FTP servers. Then, you have the ability to perform multi-file transfers from the local computer to the server or from the FTP server to the local computer. To do so, we are using the standard functions of WLanguage (FTPConnect, etc.)
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment