tblITableEditor SetCellTextColor

Sets the text color on the selected cell.

Syntax

tblITableEditor_handle SetCellTextColor cellName, color

Application

Tcl Query

Description

This command is used to set Text Color on the desired cell.

Inputs

cellName
The name of the cell. For example, A1.
color
The text color. An integer between 0 and 63.

Example

set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
$activetableHandle SetCellData A1 "Max"
$activetableHandle SetCellTextColor A1 1
puts "Text color of cell A1 is [$activetableHandle GetCellTextColor A1]"
$activetableHandle ReleaseHandle

Errors

Returns success(0) or an error code.