Search
Table.CellTextColor Property
See Also
 



Gets or sets the color used to paint the text of a cell.

 Syntax

VB6  Copy Code

Public Property Get CellTextColor( _
    ByVal col As Long, _
    ByVal row As Long _
) As Long
Public Property Let CellTextColor( _
    ByVal col As Long, _
    ByVal row As Long, _
    ByVal value As Long _
)

C++  Copy Code

public:
unsigned int get_CellTextColor (
    int col,
    int row
)
void put_CellTextColor (
    int col,
    int row,
    unsigned int value
)

 Parameters

col
The 0-based index of the cell's column.
row
The 0-based index of the cell's row.

 Property Value

A color value. The default is -1.

 Remarks

This is an indexed property having a table's column number as the first index and a row number as the second one. Its value specifies the color used to paint the text of a specific table's cell. The default value -1 specifies that the table's CaptionColor should be used to draw the cell's text.

 See Also