HighLight

This property returns and sets a value that determines whether selected cells appear highlighted.

Syntax

object.HighLight [= value]

Parameters

object
Object expression that evaluates to a Grid control.
value
Integer or constant that specifies when a Grid control should highlight selected cells, as described in Settings.

The following table shows the settings for value.
Constant
Value
Description
flexHighlightNever 0 Never highlight selected cells
flexHighlightAlways 1 Always highlight selected cells
flexHighlightWithFocus 2 Highlight selected cells when the control has the focus

Remarks

When this property is set to 0 and a user selects a range of cells, there is no visual cue that shows which cells are currently selected. When the property is set to 2 (With Focus), the highlight appears only when the control has focus.