Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Adds a row corresponding to an internal window at the end of a memory Looper control.
Caution: To use this function, the option "Use an internal window per row (LooperAddIW function)" must be checked ("Content" tab of control description).
LooperAddIW(ZR_Composant, "FI_PROCESSEUR", "i7", 2)
LooperAddIW(ZR_Composant, "FI_DISQUE", "SAMDATA", "SSD", 20 000 000)
<Result> = LooperAddIW(<Looper control> , <Internal window> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: Integer
Number of the added row.
<Looper control>: Control name
Name of Looper control to use.
<Internal window>: Character string (with or without quotes)
Name of internal window that will be used to create the row.
<Parameter 1>: Type corresponding to the parameter (optional)
First parameter that will be passed to the internal window. This parameter is passed to the event "Global declarations" of the internal window.
<Parameter N>: Type corresponding to the parameter (optional)
Nth parameter that will be passed to the internal window. This parameter is passed to the event "Global declarations" of the internal window.
  • If one of the controls found in the internal window is anchored according to its content, the row height will be automatically adapted; otherwise, the row height will correspond to the height of internal window in edit.
  • The name of the internal window used for a row can be retrieved via the following syntax:
    <Nom Zone répétée>[Répétition].Nom
  • Tip: To know the number of the row used (click on a button in the internal window, for example), create an attribute in the Looper control and assign it with the result of LooperAddIW.
  • Caution: The maximum number of controls that can be created is limited to 1000 (the number of controls per row depends on the internal window added).
    The following error occurs if more than 1000 controls are created: "Overflow: the looper contains more than 1000 controls in xxx rows".
Related Examples:
WM Sports Cross-platform examples (WINDEV Mobile): WM Sports
[ + ] This example is a sport application used to save your performances.
The application calculates the distance, the time, the average speed and the number of calories spent according to the sport.
The run is displayed on a map control via markers and an itinerary.

The example also includes a server part used to synchronize the user data.
This webservice is available in the WEBDEV "WW_Sports" example.
Component: wd260obj.dll
Minimum version required
  • Version 23
This page is also available for…
Click [Add] to post a comment