wPosition Property (Pager Controls)

Applies to TestComplete 15.64, last modified on May 16, 2024


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.



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.


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