AutoSelect Property

Applies to TestComplete 14.40, last modified on April 22, 2021

Specifies whether the component’s contents are automatically selected when the component gets focus.

Declaration

componentPropObj.AutoSelect
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, TcxCalcEditProperties, TcxComboBoxProperties, TcxCurrencyEditProperties, TcxDateEditProperties, TcxMemoProperties, TcxMRUEditProperties, TcxSpinEditProperties, TcxTextEditProperties, TcxTimeEditProperties

Description

The AutoSelect property specifies whether to automatically select all text displayed by the component when it is in focus. By default, AutoSelect is false.

Property Value

True, if the component’s contents are selected when the component is focused; False otherwise.

See Also

AutoSize Property
HideSelection Property

Highlight search results