Table of contents
Collapse the table of content
Expand the table of content

HideSelection Property

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Specifies whether selected text remains highlighted when a control does not have the focus. Syntaxobject. HideSelection [= Boolean ] The HideSelection property syntax has these parts:

objectRequired. A valid object.
BooleanOptional. Whether the selected text remains highlighted even when the control does not have the focus.

Settings The settings for Boolean are:

TrueSelected text is not highlighted unless the control has the focus (default).
FalseSelected text always appears highlighted.

Remarks You can use the HideSelection property to maintain highlighted text when another form or a dialog box receives the focus, such as in a spell-checking procedure.

© 2018 Microsoft