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 Tabla
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 16 (56), this feature is kept for backward compatibility. It is recommended to use TableSelectCount.
Returns the number of selected columns found in a Table control.
Note The Table control must enable the row selector mode. This option can be configured in the "UI" tab of the description window of control.
Ejemplo
NbColSelection is int 
ColNum is int

NbColSelection = TableColumnSelectOccurrence(TABLE_TABLE1)
Trace("TableColumnSelectOccurrence = " + NbColSelection)

FOR i = 1 TO NbColSelection
	ColNum = TableColumnSelect(TABLE_TABLE1,i)
	Trace("The column " + ColNum + " is selected")
END
Sintaxis
<Result> = TableColumnSelectOccurrence(<Table control>)
<Result>: Integer
Number of selected columns.
<Table control>: Control name
Name of the Table control to be used.
Observaciones
To allow the selection of a column, you must enable in the characteristics of Table control:
  • the "Columns" selection mode (simple or multiple selection) in the "UI" tab of the description window of the Table control.
  • the "Cells" selection mode (multiple selection) in the "UI" tab of the description window of the Table control.
The end user can select the columns by clicking the header of the column (like for a sort).
Componente: wd160obj.dll
Versión mínima requerida
  • Versión 16
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