This property returns and sets a value that determines whether selected cells appear highlighted.
object.HighLight [= value]
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 |
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.