|
Navigation: Function Reference > User Script Functions > Grid.setCellBgColor() Grid.setCellBgColor() |
Top Previous Next |
Grid.setCellBgColor( aRow, aCol: Integer; aData: Integer );
Sets the background color of a cell in the ScanExpert Viewer Grid where aRow is the row occupied in the grid by the driving symbol, aCol is the column in which the cell is located, and aData is the color value (TColor or a hexadecimal representation).
Note: Cell text and background coloring, font size and font color can be controlled to a high degree from within the ScanExpert Viewer grid so in most cases it will not be necessary to use this function.
Parameters
aRow |
integer value offset into the grid. use getRow() function to determine row. |
aCol |
integer value offset into the grid. |
aData |
integer value representing the desired color |
See also: