This documentation is archived and is not being maintained.

Visual Basic Reference

Visual Studio 6.0

HideSelection Property (ActiveX Controls)

See Also   Example   Applies To

Returns a value that determines whether selected text appears highlighted when a control loses the focus.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Return Values

The HideSelection property return values are:

Value Description
True (Default) Selected text doesn't 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.