PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a new internal window to the list of internal windows browsed by an Internal Window control.
Caution: In edit mode, if an internal window is already associated with the Internal Window control, it will be replaced by the one added with IWListAdd.
Versions 19 and later
WINDEVWindows This function is now available for WINDEV applications in Windows.
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 19
WINDEVWindows This function is now available for WINDEV applications in Windows.
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVWindows This function is now available for WINDEV applications in Windows.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
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
IWListAdd(IW_InternalWindowControl, IW_InternalWindow1)
Syntax
<Result> = IWListAdd(<Internal Window control> , <Internal window> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: Integer
  • Index of the added window,
  • 0 if an error occurs. To get more details on the error, use ErrorInfo.
<Internal Window control>: Character string
Name of the Internal Window control to use.
<Internal window>: Window name
Name of the internal window that must be associated with the control.
<Parameter 1>: Type of value sent to the window (optional)
First parameter that will be passed to the "Global declarations" event of the window to open. This parameter is passed by reference and it is considered as being a variable global to the window.
<Parameter N>: Type of value sent to the window (optional)
Nth parameter that must be passed to the "Global declarations" event of the window to open. This parameter is passed by reference and it is considered as being a variable global to the window.
Remarks
  • To navigate between the different internal windows added to the control, you can:
  • The added internal windows are numbered from 1 to x, according to the order in which they are added into the list.
    • If an internal window is deleted by IWListDelete, the internal windows that follow the deleted window are re-numbered.
    • Versions 19 and later
      To insert an internal window into the list, use IWListInsert.
      New in version 19
      To insert an internal window into the list, use IWListInsert.
      To insert an internal window into the list, use IWListInsert.
  • To modify the internal window currently displayed by the control, use ChangeSourceWindow.
  • Android For a browse performed on a data file or on a query: An exception will be triggered if this function is used.
  • Parameters passed to the internal window: Parameters are retrieved in the "Global declarations" event of the internal window. Simply write the following line of code at the start of the event:
    PROCEDURE <Window name>(<Parameter1> [, <Parameter2> [, ...]])

    For more details, see Window with parameters.
    Versions 27 and later
    You can now use named parameters. For more details, see Window with parameters.
    New in version 27
    You can now use named parameters. For more details, see Window with parameters.
    You can now use named parameters. For more details, see Window with parameters.
Component: wd270obj.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment