ComboBox.HideSelection Property (Outlook Forms Script)

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 ComboBox object.

Remarks

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

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.