ScreenTop Property

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

This property returns the vertical position of the top of the OnscreenObj object.

Declaration

TestObj.ScreenTop

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

Remarks

ScreenTop will be negative if the object is a maximized window, or if its top edge has been moved offscreen upwards.

Example

To view an example that demonstrates how to use the ScreenTop property, see Find Method.

See Also

Top Property
ScreenLeft Property

Highlight search results