TableDeleteColumns

Description

Deletes the column that the cursor is currently located in, or the columns that are currently selected, in the table.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableDeleteColumns()

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 columns:

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.TableDeleteColumns()