PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Code run when changing the internal window
  • Limitations
  • ..SourceWindow property
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
Dynamically changes the window displayed in an Internal Window control. During this modification, parameters can be passed to the new internal window.
Versions 18 and later
AndroidiPhone/iPadUniversal Windows 10 App Case of scrolling internal windows: ChangeSourceWindow is used to modify the window currently displayed. This modification is saved in the list of internal windows to scroll.
New in version 18
AndroidiPhone/iPadUniversal Windows 10 App Case of scrolling internal windows: ChangeSourceWindow is used to modify the window currently displayed. This modification is saved in the list of internal windows to scroll.
AndroidiPhone/iPadUniversal Windows 10 App Case of scrolling internal windows: ChangeSourceWindow is used to modify the window currently displayed. This modification is saved in the list of internal windows to scroll.
Versions 16 and later
Android This function is now available for the Android applications.
New in version 16
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 20 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 20
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
ChangeSourceWindow(IW_InternalWindowControl, IW_InternalWindow1)
Syntax
ChangeSourceWindow(<Name of Control to Modify>, <Name of Internal Window> [, <Parameter 1> , ... [, <Parameter N>]])
<Name of Control to Modify>: Character string (with or without quotes)
Name of the Internal Window control that will be modified.
<Name of Internal Window>: Character string (with or without quotes)
Name of the internal window that will be associated with the Internal Window control.
<Parameter 1>: Type corresponding to the parameter (optional)
First parameter that will be passed to the internal window.
<Parameter N>: Type corresponding to the parameter (optional)
Nth parameter that will be passed to the internal window.
Remarks

Code run when changing the internal window

When using ChangeSourceWindow, the following processes are run
  • Versions 17 and later
    "Before unloading the internal window" code. This process is associated with the Internal Window control.
    New in version 17
    "Before unloading the internal window" code. This process is associated with the Internal Window control.
    "Before unloading the internal window" code. This process is associated with the Internal Window control.
  • Closing code of the former internal window.
  • Code for declaring the global variables of the new internal window
  • Code for initializing the controls found in the new internal window
  • Code for initializing the internal window.
  • Versions 17 and later
    "After loading the internal window" code. This process is associated with the Internal Window control.
    New in version 17
    "After loading the internal window" code. This process is associated with the Internal Window control.
    "After loading the internal window" code. This process is associated with the Internal Window control.

Limitations

  • The names and the parameters of the functions called must be identical.
  • If a control found in the internal window is directly used from outside, a control with the same name must be found in the new internal window.
  • The values of global variables for the former internal window are lost.
  • The persistent values of the former internal window are saved and restored in the new one.

..SourceWindow property

..SourceWindow is used to find out the name of the internal window currently displayed in an "Internal Window" control.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment