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
Expands a break in the Looper control on a given row.
Example
// Click the [4 stars] Button control
nRow4Star is int
nRow4Star = LOOP_HOTEL.Search(ATT_NBSTARS, 4)
LOOP_HOTEL.Expand(nRow4Star)
Syntax
<Looper control>.Expands([<Row> [, <Break name>]])
<Looper control>: Control name
Name of the Looper control to be used.
<Row>: Optional integer
Number of the row to expand.
If this parameter is not specified, the current row is expanded.
<Break name>: Optional character string
Name of the break to be expanded. This parameter must be specified in case of nested breaks. It is used to define the break that will be expanded. If this parameter is not specified, the break above the current row will be expanded (even if there are several levels of breaks).
Remarks

Use conditions

<Looper>.Expand can be used on:
  • a Looper control based on a data file,
  • a Looper control populated programmatically.
WEBDEV - Browser code This function is not available for Linear Looper controls. This function is available for Looper controls in browser mode only.
WEBDEV - Server codePHP This function is available for Looper controls in Ajax mode, Looper controls in classic mode and Linear Looper controls.
Component: wd300obj.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