|This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.|
wSelectionStart property to obtain the index (zero-based) of the first selected character in the edit control. Characters in the text box are enumerated from left to right. To get the number of selected characters, subtract the
wSelectionStart property value from the
wSelectionEnd property value.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
Developer Express MemoEdit, Developer Express PasswordBoxEdit, Developer Express TextEdit and 5 more objects, JavaFX PasswordField, Silverlight AutoCompleteBox, Silverlight RichTextBox, Silverlight TextBox, Telerik RadMaskedXXXInput for Silverlight « Collapse the list
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
An integer value specified the index of the first selected character. If the text is not selected,
wSelectionStart indicates the position of the cursor.