wPosition Property (Pager Controls)

Applies to TestComplete 15.63, last modified on April 23, 2024

Description

The wPosition property specifies the current scroll position of the pager in pixels. Note that wPosition depends on the orientation of the pager. That is, if the application under test changes the pager’s orientation from horizontal to vertical (or vice versa), wPosition will be changed.

Declaration

TestObj.wPosition

Read-Write 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 object:

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

An integer value that specifies the scroll position of a pager control.

Remarks

If TestObj refers to an object of a non-DPI-aware application running with a DPI setting other than 100%, the property returns a value relative to the application (as if the application is running with the 100% DPI setting).

See Also

wMax Property (Pager Controls)
wMin Property (Pager Controls)

Highlight search results