Screen.Height

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aScreen.Height

Supported for all project types and targets.

The height of the screen in pixels. Use the Screen method to call Height. For example, Screen(0).Height returns the height of the main screen.