Skip to main content
Version: Next

Screen height

Screen height {( * )} : Integer

ParameterTypeDescription
*OperatorWindows: height of application window, or height of screen if * is specified Macintosh: height of main screen
Function resultIntegerHeight expressed in pixels

This command is not thread-safe, it cannot be used in preemptive code.

Description

On Windows, Screen height returns the height of 4D application window (MDI window). If you specify the optional * parameter, the function returns the height of the screen.

On Macintosh, Screen height returns the height of the main screen, the screen where the menu bar is located.

See also

SCREEN COORDINATES
Screen width