ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
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
Looper control functions (prefix syntax)
The following functions make it possible to manage Looper controls (prefix syntax):
<Looper>.AddAdds a row at the end of a Looper control.
<Looper>.AddInProgressChanges or returns the visibility state of the internal wait window when additional elements are added to an infinite Looper control.
<Looper>.AddIPAdds a row as an internal page at the end of a Looper control populated programmatically.
<Looper>.AddIWAdds a row as an internal window at the end of a Looper control populated programmatically.
<Looper>.AddLineAdds a row at the end of a Looper control.
<Looper>.BreakIndexReturns the index of the break header and footer for a given break in a Looper control.
<Looper>.CancelSwipeCancels the display of the internal window displayed in a Looper control further to the row swipe.
<Looper>.CollapseCollapses a break that was expanded beforehand in a Looper control.
<Looper>.CollapseAllCollapses all expanded breaks in a Looper control.
<Looper>.CollapseExpandOn a given row of a Looper control:
  • collapses a break (if it is expanded),
  • expands a break (if it is collapsed).
<Looper>.CountReturns the number of rows in a Looper control.
<Looper>.DeleteDeletes a row from a Looper control.
<Looper>.DeleteAllDeletes all rows from a Looper control populated programmatically.
<Looper>.DeleteSelectDeletes the selected rows from a Looper control.
<Looper>.DisplayRefreshes a Looper control based on a data file from a given position: the modifications performed in the linked file are applied to the looper.
<Looper>.DisplayPopupDisplays the automatic zoom popup for the Image Gallery control.
<Looper>.EndFillingEnds the process to populate a Looper control programmatically.
<Looper>.ExpandExpands a break in the Looper control on a given row.
<Looper>.ExpandAllExpands all breaks in a Looper control with break.
<Looper>.InfoXYUsed to find out the row or control located at specific position in the Looper control (X, Y).
<Looper>.InsertInserts a row into a Looper control.
<Looper>.InsertIPInserts a row as an internal page into a Looper control populated programmatically.
<Looper>.InsertIWInserts a row as an internal window into a Looper control populated programmatically.
<Looper>.InsertLineInserts a row into a Looper control.
<Looper>.ModifyChanges the values of the attributes in a row of a Looper control.
<Looper>.ModifyIPModifies a row corresponding to an internal page in a Looper control populated programmatically.
<Looper>.ModifyIWModifies a row corresponding to an internal window in a Looper control populated programmatically.
<Looper>.ModifyLineChanges the values of the attributes in a row of a Looper control.
<Looper>.MoveLineMoves a row or swaps two rows in a Looper control.
<Looper>.PositionMoves the scrollbar to display a specific row or returns the index of the first row displayed in a Looper control populated programmatically.
<Looper>.RecNumReturns the number of the current record in a Looper control based on a data file.
<Looper>.RefreshVisibleChanges or returns the visibility status of the refresh bar in a Looper control.
<Looper>.RestorePositionAndSelectionRestores the scrollbar position in a Looper control as well as the selected elements.
<Looper>.SaveValidates the modification or addition of the record associated with the current row in the Looper control.
<Looper>.SavePositionAndSelectionSaves:
  • the position of the scrollbar in a Looper control,
  • the selected element(s).
These elements can be restored by <Looper>.RestorePositionAndSelection.
<Looper>.SearchEverywhereSearches for a value in all the attributes of a Looper control.
<Looper>.SelectReturns the index of the selected element in a Looper control.
<Looper>.SelectCountReturns the number of selected rows in a Looper control.
<Looper>.SelectMinusDeselects a row in a Looper control.
<Looper>.SelectPlusSelects a row in a Looper control.
<Looper>.SortAllows you to:
  • Sort a Looper control according to one or more attributes.
  • Sort a Looper control on all its attributes.
  • Cancel a sort that was performed beforehand (which means ignore the sort).
<Looper>.StartFillingStarts the process to populate a Looper control programmatically.
<Looper>.ToExcelCreates an Excel file from the data found in a Looper control (browsing Looper control or memory Looper control).
<Looper>.ToWordCreates a Word file (.RTF) using the data from a Looper control.
<Looper>.ToXMLCreates an XML file with data from a Looper control (Looper control based on a data file or populated programmatically).
Adds a repeat (or line) consisting of an internal window to the first repeat of a field Infinite Repeat Zone. The repeat is inserted before the first repeat in the Repeated zone field.. The scroll position of the Repeated zone field remains unchanged.
Adds a repeat (or line) at the beginning of a field Infinite repeat zone. The repeat is inserted before the first repeat in the Repeated zone field.. The scroll position of the Repeated zone field remains unchanged.
Related Examples:
The Looper control Unit examples (WINDEV): The Looper control
[ + ] Using the Looper control.
You have the ability to add a row with LooperAddLine.
The following syntax is used to retrieve the existing values:
  AttributeName[Subscript]
WD Managing Contacts Complete examples (WINDEV): WD Managing Contacts
[ + ] This example presents the management of contacts in WINDEV.
The following topics are presented in this example:
1/ the loopers
2/ the label reports
3/ the queries
4/ sending emails
5/ using Outlook
6/ handling the data found on a mobile device.
Summary of the example supplied with WINDEV:
This example is used to manage the contacts and to send emails.
It also enables you to synchronize these contacts with the ones found on the mobile device connected to the PC and with the ones found in Outlook.
The Camera functions Unit examples (WINDEV Mobile): The Camera functions
[ + ] Using the WLanguage "Camera" functions to start the native video camera application of the device in order to record a video or to take a photo.
WM Attendance Cross-platform examples (WINDEV Mobile): WM Attendance
[ + ] This application is an attendance manager. It allows you to list the persons who attended a meeting.
The database is filled beforehand with the list of registered persons.
You have the ability to find a person by using his/her name.
The following topics are presented in this example:
1/ using a browsing looper based on a query
2/ using a database in HFSQL format.
WW_Rewali Complete examples (WEBDEV): WW_Rewali
[ + ] This example is a site for travel booking.

It proposes travels at very attractive prices.
You have the ability to choose the travel duration, the start dates, then validate the purchase until the payment via Paypal.

It is using the "scrolling banner" control and the planes.
webmillion Complete examples (WEBDEV): webmillion
[ + ] The following topics are presented in this example:
1/ Using queries
2/ Using "browsing" loopers in automatic browse
3/ Using "browsing" loopers in manual browse

Summary of the example supplied with WEBDEV:
This Web application, powered by WEBDEV, is used to display, find and order tee-shirts.
Once the order is placed, you have the ability to use the PayBox module for secure payment.

This example contains a page used to generate a data file containing an important number of records.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/13/2024

Send a report | Local help