PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Initializing a memory Looper control
  • Adding rows into a memory Looper control
  • Note
  • Selecting a row
  • Modifying the attributes or controls of a row
  • Modifying all the attributes or controls of a row
  • Modifying an attribute or a control
  • Deleting a row
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
Overview
The main concepts for programming the memory Looper controls are as follows. Several WLanguage functions allow you to manage the memory Looper controls by programming.
Do not hesitate to see the documentation about these functions. See Functions for managing the Looper controls for more details.
Versions 15 and later
Android The Looper control is available in Android.
New in version 15
Android The Looper control is available in Android.
Android The Looper control is available in Android.
Versions 16 and later
Universal Windows 10 App The Looper control is available in Windows Phone.
WINDEVLinux The Looper control is available in WINDEV for Linux.
New in version 16
Universal Windows 10 App The Looper control is available in Windows Phone.
WINDEVLinux The Looper control is available in WINDEV for Linux.
Universal Windows 10 App The Looper control is available in Windows Phone.
WINDEVLinux The Looper control is available in WINDEV for Linux.
Versions 21 and later
Universal Windows 10 App The Looper control is available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App The Looper control is available in Universal Windows 10 App mode.
Universal Windows 10 App The Looper control is available in Universal Windows 10 App mode.
Initializing a memory Looper control
The creation of a row in a Looper control is not automatically performed. It must be explicitly requested via a call to:
Adding rows into a memory Looper control
Adding rows into a memory Looper control is performed:

Note

To make the code easier to read, you have the ability to use the following method:
  1. Add an empty row.
  2. Assign each attribute or control one by one.
An error automatically occurs when deleting an attribute or a control. However, the display time may be longer.

Selecting a row

A row cannot be selected.
Modifying the attributes or controls of a row

Modifying all the attributes or controls of a row

To modify the attributes or controls of a specific row, use LooperModify or LooperModifyLine and specify the subscript of the row to modify.
For example:
// Modify the row #3
LooperModify(LOOP_Looper1, "Highlander" + TAB + "103min" + TAB + "Unknown" + ...
TAB + "C. Lambert" + TAB + "" + TAB + "RO120", 3)
To modify the attributes or controls of the current row, there is no need to specify the subscript.

Modifying an attribute or a control

To modify an attribute or a control, specify the name of the attribute or control to modify.
  • Modifying the attribute or control of a specific row: The row subscript must be specified.
  • Modifying an attribute or control in the current row: There is no need to specify the subscript.
Deleting a row
The deletion of a row must be explicitly requested by LooperDelete. The following syntax is used:
LooperDelete(<LooperName>[,Subscript])
If the subscript is specified, LooperDelete deletes the row corresponding to the subscript. Otherwise, the current row is deleted. For example:
LooperDelete(LOOP_CUSTOMER)
The deletion of a looper row deletes all the values of the attributes or controls for this row.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment