TXTextControl.TableCellSelect Method

This method can be used to select a table cell, a table row, a table column or a complete table.

Introduced: 19.0.

Syntax

TXTextControl.TableCellSelect TableId, Row, Column
Parameter Description
TableId

Specifies the table's identifier. This must be the value returned from the TableInsert or the TableInsertDialog method.

Row

Specifies a row number, which identifies a certain cell in the table. The first row has the number one. This parameter set to zero means a complete column.

Column

Specifies a column number, which identifies a certain cell in the table. The first column has the number one. This parameter set to zero means a complete row. If both parameters, Row and Column, are set to zero, then the complete table is selected.

Return Value

The return value is True, if the specified table cell could be selected. Otherwise, it is False. False is returned, if the specified table id is invalid or the specified row or column number does not exist.

Data Types

TableId: Integer
Row: Long
Column: Long
Return value: Boolean

See Also