wMaxX Property (Specific to YUI 2 Slider Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024
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.

Description

A slider's two-dimensional logical position is specified by horizontal and vertical offsets, which can be set within a defined range. Use the wMaxX property to get the maximum horizontal position of the slider.

Declaration

TestObj.wMaxX

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 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

An integer value that specifies the maximum horizontal position of the slider.

Remarks

For the horizontal slider, the property value equals the wMax property value. For the vertical slider, the property always returns 0.

See Also

wMax Property (TrackBar and Slider Controls)
wMaxY Property (Specific to YUI 2 Slider Controls)
wPosition Property (TrackBar and Slider Controls)

Highlight search results