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 de controles
  • Use in the events of a Table control
  • Limits
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
Advertencia
A partir de la versión 27, CurrentSubscript se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por CurrentIndex.
Depending on the specified control, returns:
  • the number of the current line displayed in the current Table control,
  • WINDEVJava the number of the option with focus in a Check Box control,
  • WEBDEV - Código Servidor the number of the current row in the current Looper control,
  • WINDEV the index of the current indexed control.
Ejemplo
RowNum is int = CurrentIndex()
Trace("Current line number: " + LineNumber)
Sintaxis
<Result> = CurrentIndex()
<Result>: Integer
  • Number of the current row displayed in the current Table control.
  • Number of the option in the current Check Box control.
  • WINDEV Index of the current indexed control.
  • WEBDEV - Código Servidor Number of the current row displayed in the current Looper control.
Observaciones

Use in the events of a Table control

When initializing a Table control, the "Row display" event is run whenever a row is displayed in the Table control.
When initializing a Table control, if CurrentIndex is used in the "Row display" event of a row, CurrentIndex returns 0.

Limits

The CurrentIndex function can be used with:
  • WINDEV Table, Check Box and Indexed controls.
  • WEBDEV - Código Servidor Table and Looper controls.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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