TextMatrix Property

Returns or sets the contents of a cell identified by its row and column coordinates.

Syntax

[form!]VSFlexGrid.TextMatrix(Row As Long, Col As Long)[ = value As String ]

Remarks

The TextMatrix property allows you to set or retrieve the contents of a cell without changing the Row property and Col property.

The following code places text into an arbitrary cell:

    fg.TextMatrix(1, 1) = "Apple"

See also the Cell property, which allows you to set or retrieve text, pictures and formatting information for a cell or range of cells.

Data Type

String

See Also

VSFlexGrid Control