GetCellBackColor - method of the PmgWTable object
Description:
Returns background color of the cell.
Syntax:
String GetCellBackColor(Long Row, Long Col)
Parameters:
Row | (Long) If the value is greater or equal 0 then it is a row index (zero-based index, counted including the fixed part).
Value -2 means the last row. |
Col | (Long) If the value is greater or equal 0 then it is a column index (zero-based index, counted including the fixed part).
Value -2 means the last column. |
---|
Note:
RGB String (represents a color) is written in the form
"#RRGGBB".
This method is also functional in
Web panels.
Example:
Reading the cell background color in the 2nd row and 5th column.
JavaScriptVBScriptSelect and copy to clipboard
var oTable = pMe.Items("/Table");
var sColor = oTable.GetCellBackColor(1, 4);
Dim oTable
Set oTable = pMe.Items("/Table")
Dim sColor
sColor = oTable.GetCellBackColor(1, 4)