CellForeColor Property
Applies To
Grid
Description
Gets or sets the foreground color for a Grid cell at runtime.
Usage
GGet Form.Control.CellForeColor (row, column), var
GSet Form.Control.CellForeColor (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 foreground color for the specified grid cell.
See Also
Grid, CellBackColor, CellText
Example
GSet frmMain.gridMyData.CellForeColor(1, 1), "Red"