ScreenLeft Property

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

This property returns the horizontal position of the left side of the OnscreenObj object in screen coordinates.

Declaration

TestObj.ScreenLeft

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

All onscreen objects.

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 horizontal position of the object in screen coordinates.

Remarks

ScreenLeft will be negative if the object is a maximized window, or if its left edge has been moved off the left edge of the screen.

Example

To view an example that demonstrates how to use the ScreenLeft property, see Finding an Image on a Web Page.

See Also

Left Property
ScreenTop Property

Highlight search results