PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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 a specific 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
Handling a Linear Looper control by programming
Overview
WEBDEV allows you to handle a Linear Looper control by programming. To do so, use the variable of the Linear Looper control in the code.
A looper 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 LooperAdd or LooperAddLine.
  • handle each attribute of the Linear Looper control:
    <Attribute Name>[<Subscript>] = <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>[<Subscript>]
  • 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 the current row:
<Value> = <Looper Name>[<Looper Name>]
The result is a character string containing each attribute separated by TAB.

Content of a specific row

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