Share via


TextBox.HideSelection Property

Outlook Forms Script Reference

Returns or sets a Boolean that specifies whether selected text remains highlighted when a control does not have the focus. Read/write.

Syntax

expression.HideSelection

expression   A variable that represents a TextBox object.

Remarks

True if selected text is not highlighted unless the control has the focus (default). False if selected text always appears highlighted.

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.

See Also