Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetCellBackColor - method of object PmTable

Description:
Returns background color of the cell.
Syntax:
GetCellBackColor(Row As Long, Col As Long) As String
Calling:
sColor = oTable.GetCellBackColor(row, col) 'in sColor is a RGB String in the form "#RRGGBB"
Parameters:
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.
Note:
RGB String representing a color is written in the form of "#RRGGBB".
 
The method can also be called in the graphic item events for Web Panels.
Example:
Read the cell background color in the 2nd row and 8th column.
Dim oTable, sColor
Set oTable = pMe.Items("/Ax0").Acx
sColor = oTable.GetCellBackColor(1,7)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice