TableDeleteRows

Description

Deletes the row that the cursor is currently located in, or the rows that are currently selected, in the table.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableDeleteRows()

Return value

Boolean.

Returns true if it succeeds, and returns false if an error has occurred or if the current input position is not within a table.

Examples

The following example deletes all the selected rows:

long ll_tableid
boolean lb_rtn

ll_tableid = rte_1.TableInsert(3,4)
rte_1.TableCellSelect(ll_tableid,2,1,3,3)
lb_rtn = rte_1.TableDeleteRows()