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
<Table>.CellSelectOccurrence (Function)
In french: <Table>.CelluleSelectOccurrence
Warning
From version 16 (56F), this function is kept for backward compatibility. This function is replaced with <Table>.SelectCount.
Returns the number of selected cells found in a Table control.
Remark: The Table control must allow the selection mode by cell. This option can be configured in the "GUI" tab of the Table control description.
Example
NbSelectedCells is int
Total is real
RowNum is int
ColNum is int
 
NbSelectedCell = TABLE_TABLE1.CellSelectOccurrence()
FOR i = 1 TO NbSelectedCells
RowNum = TABLE_TABLE1.CellSelect(i, tcsLine)
ColNum = TABLE_TABLE1.CellSelect(i, tcsColumn)
Total = Total + TABLE_TABLE1[RowNum, ColNum]
 
END
Syntax
<Result> = <Table control>.CellSelectOccurrence()
<Result>: Integer
  • Number of selected cells,
  • 0 if the selection mode by cell is not selected for the Table control ("GUI" tab in the description window of control),
  • 1 if the Table control allows the selection of a single cell.
<Table control>: Control name
Name of the Table control to be used.
Remarks
Then, the list of cells can be retrieved by <Table>.CellSelect.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 20/06/2023

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