ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Linear Looper control
  • Overview
  • Initializing the different controls/attributes of a Linear Looper control
  • Retrieving the value of the different controls/attributes found in a Linear Looper control
  • Retrieving the value of the different controls/attributes of a row found in a Linear Looper control
  • Content of current row
  • Content of specific row
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
Handling a Linear Looper control through programming (object syntax)
Overview
WEBDEV allows you to handle a Linear Looper control through programming. To do so, use the variable of the Linear Looper control in the code.
A Looper control must be exclusively handled via its attributes.
The variable of the Linear Looper control corresponds to the name of the Linear Looper control. This variable is an integer.
Initializing the different controls/attributes of a Linear Looper control
WEBDEV - Server code To initialize the different controls/attributes of a Linear Looper control:
  • use <Looper>.Add or <Looper>.AddLine.
  • handle each attribute of the Linear Looper control:
    <Attribute name>[<Index>] = <Value>
  • handle each attribute of the Linear Looper control for the current row:
    <Attribute name> = <Value>
WEBDEV - Browser code No Linear Looper control can be initialized in browser code.
Retrieving the value of the different controls/attributes found in a Linear Looper control
To retrieve the value of the different controls/attributes found in a Linear Looper control:
  • handle each attribute of the Linear Looper control:
    <Value> = <Attribute name>[<Index>]
  • handle each attribute of the Linear Looper control for the current row:
    <Value> = <Attribute name>
Retrieving the value of the different controls/attributes of a row found in a Linear Looper control

Content of current row

To retrieve the content of current row:
<Value> = <Looper control>[<Looper control>]
The result is a character string containing each attribute separated by TAB.

Content of specific row

To retrieve the content of the row whose index is <Index>:
<Value> = <Looper control>[<Index>]
The result is a character string containing each attribute separated by TAB.
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help