TableInsertColumn

Description

Inserts a column to the right or left of the current text input position in the table.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableInsertColumn(integer position)

Argument

Description

position

The position to insert the new column. The following values are supported:

  • 0 -- Insert the column to the left of the column with the current text input position.

  • 1 -- Insert the column to the right of the column with the current text input position.


Return value

Boolean.

Returns true if the column is inserted successfully. Returns false if the column is not inserted or the current text input position is not in a table. Returns null if any argument is null.

Examples

The following example inserts a column to the left of the current column:

boolean lb_rtn
lb_rtn = rte_1.TableInsertColumn(1)