PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Inserts a new internal window in the list of internal windows used by an Internal Window control.
Caution: If an internal window is associated in edit with the Internal Window control, this internal window will not be accessible anymore.
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
// Insert a customer
HAdd(CUSTOMER)
nCustomerPos is int = IWListPosition(IW_CustomerList)
IWListInsert(IW_CustomerList, nCustomerPos, IW_CustomerForm, CUSTOMER.CUSTOMERID)
Syntax
IWListInsert(<Internal Window Control> , <Subscript> , <Name of Internal Window> [ , <Parameter 1> [ , <Parameter 2> [ , ... ]]])
<Internal Window Control>: Character string (with or without quotes)
Name of the Internal Window control to use.
<Subscript>: Integer
Subscript of the internal window to insert.
<Name of Internal Window>: Character string (with or without quotes)
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" process of window to open. This parameter is passed by address and it is considered as being a global variable of the window.
<Parameter 2>: Type of value sent to the window (optional)
Second parameter that will be passed to the "Global declarations" process of window to open. This parameter is passed by address and it is considered as being a global variable of the window.
Remarks
  • To navigate between the different internal windows inserted into 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.
    • To add an internal window into the list, use IWListAdd.
  • 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.
Components
WINDEVReports and Queries wd230obj.dll
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment