TX Text Control ActiveX

TableFromSelection Method

Method

This method returns the table identifier of the currently selected table. It is zero, if no table or more than one table is selected.

Introduced: 19.0.

Syntax

TXTextControl.TableFromSelection Row, Column

Parameters

ParameterDescription
RowTextControl copies the number of the selected row to this variable. The first row has the number one. If more than one row is selected, the row number is 0.
ColumnTextControl copies the number of the selected column to this variable. The first column has the number one. If more than one column is selected, the column number is 0.

Return Value

The return value is the table's identifier. This must be the value returned from the TableInsert method. The return value is 0, if no table or more than one table is selected.

Data Types

NameData type
RowLong
ColumnLong
Return valueInteger

See Also