AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
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
TableColumnSelectOccurrence (Function)
In french: TableColonneSelectOccurrence
Warning
From version 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.
Remark: The Table control must allow the selection mode by column. This option can be configured in the "UI" tab of the description window of control.
Example
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
Syntax
<Result> = TableColumnSelectOccurrence(<Table control>)
<Result>: Integer
Number of selected columns.
<Table control>: Control name
Name of the Table control to be used.
Remarks
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).
Component: wd160obj.dll
Versión mínima requerida
  • Versión 16
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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