|
|
|
|
|
TableCellSelectOccurrence (Function) In french: TableCelluleSelectOccurrence
Warning
From version 16 (56F), this function is kept for backward compatibility. This function is replaced with TableSelectCount.
Returns the number of selected cells found in a Table control. Remark: The Table field must allow the cell selection mode. This option can be configured in the "GUI" tab of the Table control description. NbCelluleSel is int
Total is real
NumLigne is int
NumCol is int
NbCelluleSel = TableCellSelectOccurrence(TABLE_TABLE1)
FOR i = 1 TO NbCelluleSel
NumLigne = TableCellSelect(TABLE_TABLE1, i, tcsLine)
NumCol = TableCellSelect(TABLE_TABLE1, i, tcsColumn)
Total = Total + TABLE_TABLE1[NumLigne, NumCol]
END
Syntax
<Result> = TableCellSelectOccurrence(<Table control>)
<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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|