wFocus Property (ListView Controls)

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

Description

Use this property to find out what list box item is currently focused.

Declaration

TestObj.wFocus

Read-Only Property Integer
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 objects:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

The index of the focused item.

Highlight search results