Highlight Property

Specifies whether the cell with the focus in a Grid control appears selected. Available at design time and read/write at run time.

Grid.Highlight [= lExpr ]

Property Values

  • lExpr
    The settings for the Highlight property are:
    Setting Description
    True (.T.) The cell is marked (highlighted) as selected. (Default)
    False (.F.) The cell is not selected.

Remarks

If the HighLight property is set to true (.T.), you can use it in conjunction with a Column's SelectOnEntry property to determine if the entire cell appears selected. If you set the HighLight property to false (.F.), the SelectOnEntry property is ignored.

See Also

HighlightRow Property | SelectOnEntry Property | HighlightForeColor Property | HighlightBackColor Property | HighlightStyle Property

Applies To: Grid Control