This method returns the table identifier of the currently selected table. It is zero, if no table or more than one table is selected.
TXTextControl.TableFromSelection Row, Column
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.
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.
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.