GetCellForeColor - method of object PmTable
Returns text color of the cell.
GetCellForeColor(Row As Long, Col As Long) As String
sColor = oTable.GetCellForeColor(row, col) 'in sColor is a RGB String in the form "#RRGGBB"
|Row||(Long) If the value is >=0 then it is a index of the row (zero-based index). Value -2 means the last row.|
|Col||(Long) If the value is >=0 then it is a index of the column (zero-based index). Value -2 means the last column.|
representing a color is written in the form of "#RRGGBB"
The method can also be called in the graphic item events for Web Panels
Read the text color of the cell in the 2nd row and 5th column.
sColor = oTable.GetCellForeColor(1, 4)