ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WINDEV Mobile 2025 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a row consisting of an internal window at the beginning of an Infinite Looper control. The row is inserted before the first row in the Looper control. The scrollbar of the Looper control remains at the same position.
Note: It is recommended to use this function in the "Add additional elements at the top" event of the Looper control.
Example
LOOP_Component.AddIWBeginning(IW_PROCESSOR, "i7", 2)
LOOP_Component.AddInProgress(taRefreshIndicatorUp, False)
Syntax
<Looper control>.AddIWBeginning(<Internal window> [, <Parameter 1> [... [, <Parameter N>]]])
<Looper control>: Control name
Name of the Looper control to be used.
<Internal window>: Window name
Name of the internal window to be used to create the row.
<Parameter 1>: Type corresponding to the parameter (optional)
First parameter to be passed to the internal window. This parameter is passed to the "Global declarations" event of the internal window.
<Parameter N>: Type corresponding to the parameter (optional)
Nth parameter to be passed to the internal window. This parameter is passed to the "Global declarations" event of the internal window.
Remarks
  • If one of the controls in the internal window is anchored based on its content, the row height will adapt automatically. Otherwise, the row height will be the height of the internal window in edit mode.
  • The name of the internal window used for a row can be retrieved using the following syntax:
    <Champ Zone répétée>[Répétition/ligne].Nom
  • Parameters passed to 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 <Nom de la fenêtre>(<Paramètre 1> [, ...] [, <Paramètre N>])
    For more details, see Window with parameters.
Component: wd300obj.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/25/2024

Send a report | Local help