ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Looper control
  • Overview
  • Adding or modifying a row in a Looper control based on a data file
  • Deleting a row from a Looper control based on a data file
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
Here are the main concepts for programming browsing Looper controls.
Several WLanguage functions allow you to manage the browsing Looper controls through programming.
Do not hesitate to see the documentation about these functions. For more details, see: Looper control management functions.
Adding or modifying a row in a Looper control based on a data file
The addition and modification of a row in a Looper control (and of a record in the data file) consist of two phases:
  1. Add or modify the record in data the file (via a form window or page, for example)
  2. Redisplaying the content of the browsing Looper control (<Looper>.Display).
Deleting a row from a Looper control based on a data file
To delete a row from a Looper control based on a data file::
  1. Delete the record from the data file (via <Source>.Delete).
  2. Redisplay the content of the browsing Looper control (via <Looper>.Display).
Important: <Looper>.RecNum returns the number of the current record in a Looper control based on a data file.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/08/2022

Send a report | Local help