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