Returns a value that determines whether selected text appears highlighted when a control loses the focus.
object.HideSelection
The object placeholder represents an object expression that evaluates to an object.
The HideSelection property return values are described in the following table.
Value | Description |
---|---|
True | (Default). Selected text does not appear highlighted when the control loses the focus. |
False | Selected text appears highlighted when the control loses the focus. |
You can use this property to indicate which text is highlighted while another form or a dialog box has the focus—for example, in a spell-checking routine.