ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
  • Use conditions
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
Collapses a break that was expanded beforehand in a Looper control. The break elements are no longer visible in the Looper control.
Example
nRow4Star is int
nRow4Star = LOOP_HOTEL.Search(ATT_NBSTARS, 4)
LOOP_HOTEL.Collapse(nRow4Star)
Syntax
<Looper control>.Collapse([<Row> [, <Break name>]])
<Looper control>: Control name
Name of the Looper control to be used.
<Row>: Optional integer
Number of the row to collapse.
If this parameter is not specified, the current row is collapsed.
<Break name>: Optional character string
Name of break to collapse. This parameter must be specified in case of nested breaks. It allows the break that will be collapsed to be defined. The function collapses from the first break by default (even if there are several break levels).
Remarks

Use conditions

<Looper>.Collapse can be used on:
  • a Looper control based on a data file,
  • a Looper control populated programmatically.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help