TableGetCellBackColor

Description

Gets the back color of a table cell in the RichTextEdit control.

Applies to

RichTextEdit control

Syntax

long rtename.TableGetCellBackColor(long tableID, long row, long column)

Argument

Description

tableID

The unique ID that identifies the table.

row The row number of the cell.
column The column number of the cell.

Return value

Long.

Returns the numeric value of the color. Values are 0 to &HFFFFFF. Returns -1 if it fails. Returns null if any argument is null.

Examples

The following example gets the back color of the cell (2,2).

long ll_tableid,ll_rtn

ll_tableid = rte_1.TableInsert(3,4)
ll_rtn = rte_1. TableGetCellBackColor (ll_tableid,2,2)