VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > HighLight Property |
Returns or sets whether selected cells will be highlighted.
[form!]VSFlexGrid.HighLight[ = ShowSelSettings ]
The settings for the HighLight property are described below:
Constant |
Value |
Description |
FlexHighlightNever |
0 |
Never highlight the selected range. Selected Ranges will not be visible to the user. |
FlexHighlightAlways |
1 |
Always highlight the selected range. |
FlexHighlightWithFocus |
2 |
Highlight the selected range only when the Control has the focus. |
Highlighting ranges that contain merged cells may lead to non-rectangular shapes being highlighted. If this is undesirable, you may disable the highlighting by setting HighLight to flexHighlightNever.
You may also prevent extended selections of any kind by setting the AllowSelection property to False.
ShowSelSettings (Enumeration)
flexHighlightAlways (1)