AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Looper
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the index of the selected element in a Looper control. The selected element corresponds to the current row on which the selection bar is displayed.
Note: The <Looper>.Select function can be used on both:
  • a Looper control based on a data file or populated programmatically.
  • a single-selection or multi-selection Looper control. For multi-selection Looper controls, <Looper>.Select must be used in a loop in order to retrieve all selected rows.
Ejemplo
// Indice de la répétition sélectionnée dans le champ Zone répétée "ZR_Produit"
ResSelect = ZR_Produit.Select()
// Répétitions sélectionnées dans un champ Zone répétée par programmation multisélection
i is int
NbSélectionné is int = ZR_Zone1.SelectOccurrence()
FOR i = 1 TO NbSélectionné
	Trace("Elément sélectionné: " + ZR_Zone1.Select(i))
END
Sintaxis
<Result> = <Looper control>.Select([<Rank>])
<Result>: Integro
  • Index of the selected row in the specified Looper control,
  • -1 if no row is selected.
<Looper control>: Nombre del control
Name of the Looper control to be used.
<Rank>: Entero opcional
Rank of selection for a multi-selection Looper control.
If this parameter is not specified, the index of the first selected row is returned.
For example, to retrieve the first selected element, <Rank> = 1.
To retrieve the second selected element, <Rank> = 2, ...
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

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