ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WINDEV Mobile 2025 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
  • Use conditions
  • Row characteristics
  • Sort
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 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_Email.AddBeginning(Email.Date, Email.Text, Email.Sender)
LOOP_Email.AddInProgress(taRefreshIndicatorUp, False)
Syntax
<Looper control>.AddBeginning([<Value 1> [... [, <Value N>]]])
<Looper control>: Control name
Name of the Looper control to be used.
<Value 1>: Type of associated attribute (optional)
Value of the 1st attribute of the row to be inserted in the specified Looper control.
The different values must be specified in the order of the attributes (Looper control description window).
If you don't want to specify a value for one of the attributes, use an empty string ("") or 0 (depending on the attribute type).
If none of these parameters is specified, an empty row will be inserted into the Looper control.
<Value N>: Type of associated attribute (optional)
Value of the Nth attribute of the row to be inserted into the specified Looper control.
The different values must be specified in the order of the attributes (Looper control description window).
If you don't want to specify a value for one of the attributes, use an empty string ("") or 0 (depending on the attribute type).
If none of these parameters is specified, an empty row will be inserted into the Looper control.
Remarks

Use conditions

<Looper>.AddBeginning can be used on:
  • a Looper control based on a data file,
  • a Looper control populated programmatically.

Row characteristics

If a value is the result of a calculation, enclose the numerical expression in brackets.
For example:
LOOP_Calculation.AddBeginning((53+29), (83-21))

Sort

<Looper>.AddBeginning ignores the sort.
Component: wd300obj.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help