Screen.AvailableTop
From Xojo Documentation
Read-Only Property (As Integer )
This is the topmost pixel you have available for use on the specified screen, after taking into account the height of any menubar or taskbar, if present.
Notes
Use the Screen method to call AvailableTop. For example, Screen(0).AvailableTop returns the available top number of pixels of the main screen.