CellBackColor Property
Applies To
Grid
Description
Gets or sets the background color for a Grid cell at runtime.
Usage
GGet Form.Control.CellBackColor (row, column), var
GSet Form.Control.CellBackColor (row, column), value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name.
- row
- Integer expression for the cell row. The index of the first row is “0”.
- column
- Integer expression for the cell column. The index of the first column is “0”.
- var
- String variable that will contain the value of the property.
- value
- String expression for the new value of the property.
Values
A string containing the name of the background color for the specified grid cell.
See Also
Grid, CellForeColor, CellText
Example
GSet frmMain.gridMyData.CellBackColor(1, 1), "Red"