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, counted including the fixed part).

Value -2 means the last row.

Col(Long) If the value is >=0 then it is a index of the column (zero-based index, counted including the fixed part).

Value -2 means the last column.

Note:
RGB String representing a color is written in the form "#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 5th column.
Dim oTable, sColor
Set oTable = pMe.Items("/Ax0").Acx
sColor = oTable.GetCellBackColor(1, 4)
PROMOTIC 8.3.20 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice