wSelection Property (Hyperlink Controls)

Applies to TestComplete 15.68, last modified on October 16, 2024

Description

Use the wSelection property to get the selected portion of the edit 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 edit control.

See Also

ClickButton Action (Hyperlink Controls)
ClickLink Action (Hyperlink Controls)
wSelectionEnd Property (Hyperlink Controls)
wSelectionStart Property (Hyperlink Controls)
wText Property (Edit Controls)

Highlight search results