wSelection Property (ButtonEdit Controls)

Applies to TestComplete 14.72, last modified on December 24, 2020

Description

Use the wSelection property to get the selected portion of the control’s text.

Declaration

TestObj.wSelection

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The text selected in the control.

See Also

wSelectionStart Property (ButtonEdit Controls)
wSelectionEnd Property (ButtonEdit Controls)

Highlight search results