HideSelection Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies whether the text selected in the component appears highlighted when the component loses focus.

Declaration

componentPropObj.HideSelection
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxButtonEditProperties, TcxComboBoxProperties, TcxCurrencyEditProperties, TcxMemoProperties, TcxMRUEditProperties, TcxSpinEditProperties, TcxTextEditProperties, TcxTimeEditProperties

Description

Use the HideSelection property to specify whether the text selected in the component should appear highlighted even when the component loses the input focus. If you need the selection to appear highlighted even when the component is not focused, set HideSelection to False.

Property Value

True, if the selected text appears highlighted when the component is focused. False is the selection is highlighted even when the component is not focused.

See Also

AutoSelect Property

Highlight search results