VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > ColKey Property |
Returns or sets a key used to identify the given column.
[form!]VSFlexGrid.ColKey(Col As Long)[ = value As String ]
The ColKey property is used in conjunction with the ColIndex property to identify and refer to columns regardless of their physical position on the grid. These properties are useful when the grid is bound to a recordset or when the user is allowed to move columns around using the ExplorerBar.
To use these properties, assign unique keys to each column using the ColKey property. When you want to refer to a specific column, convert the key into an index using the ColIndex property.
For details an example, see the ColIndex property.
String