TXTextControl.TXTextControl.TableFromSelection 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
Parameter Description
Row

TextControl 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.

Column

TextControl 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

Row: Long
Column: Long
Return value: Integer

See Also