PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WINDEV Mobile 23 feature!
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 row corresponding to an internal window into a memory Looper control.
Caution: To use this function, the option "Use an internal window per row" must be checked ("Content" tab of control description).
Example
LooperInsertIW(LOOP_Component, 1, "IW_PROCESSOR", "i7", 2)
LooperModifyIW(LOOP_Component, 2, "IW_DISK", "SAMDATA", "SSD", 20 000 000)
Syntax
LooperInsertIW(<Looper Control> , <Subscript>, <Internal Window> [, <Parameter 1>, ... [, <Parameter N>])
<Looper Control>: Control name
Name of Looper control to use.
<Subscript>: Optional integer
Subscript of row from which the new row will be inserted.
  • If this parameter is equal to -1, the insertion will be performed before the current row. If no row is selected, the insertion will be performed at the end of Looper control.
  • If <Subscript> is greater than the number of rows, the insertion will be performed at the end of Looper control. In this case, LooperInsertIW is equivalent to LooperAddIW.
  • If this parameter is equal to 0, the insertion will be performed at the beginning of Looper control.
<Internal Window>: Character string
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 process for declaring the global variables of 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 process for declaring the global variables of internal window.
Remarks
  • 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:
    <Looper Name>[row]..Name
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.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Android wd230android.jar
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment