TableInsertRow

Description

Inserts one above or below the current text input position in the table.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableInsertRow(integer position)

Argument

Description

position

The position to insert the new row(s). The following values are supported:

  • 1 -- Insert the row(s) above the row with the current text input position.

  • 2 -- Insert the row(s) below the row with the current text input position.


Return value

Boolean.

Returns true if the row is inserted successfully. Returns false if the row 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 row below the current position.

boolean lb_rtn
lb_rtn = rte_1.TableInsertRow (2)