ScreenLeft Property

Applies to TestComplete 15.45, last modified on December 01, 2022

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 Find Method.

See Also

Left Property
ScreenTop Property

Highlight search results