ScreenTop Property

Applies to TestComplete 15.64, last modified on June 12, 2024


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



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.


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


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

See Also

Top Property
ScreenLeft Property

Highlight search results