HighLight

Returns or sets a value that determines whether selected cells appear highlighted.

Syntax

object.HighLight [= value ]

The HighLight property syntax has these parts:

Part Description
object An object expression that evaluates to an object.
value Integer or constant specifying when Grid should highlight selected cells, as described in Settings.

Settings

The settings for value are:

Value Description
0 Never highlight selected cells.
1 Always highlight selected cells.
2 Highlight selected cells when control has focus.

Remarks

When this property is set to zero and the 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.