AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Looper
  • 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: wd290obj.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 22/06/2023

Señalar un error o enviar una sugerencia | Ayuda local