TXTextControl.TableInsertColumn Method

This method inserts a table column left or right of the column with the current input position. A table column can only be inserted if the current input position is in a table and if no text is selected. The TableCanInsertColumn property informs whether a column can be inserted.

Syntax

TXTextControl.TableInsertColumn Position
Parameter Description
Position

Specifies where to insert the table column. Possible values are the following:


Constant Description
txTableInsertInFront (1) The column is inserted left of the column with the current input position.
txTableInsertAfter (2) The column is inserted right of the column with the current input position.

Return Value

The method returns True if the table column could successfully be inserted. The method returns False if an error has occurred or if the current input position is not within a table.

Data Types

Return value:    Boolean

See Also