Skip to main content
Version: 20 R7 BETA

Screen height

Screen height {( * )} -> Function result

ParameterTypeDescription
*OperatorWindows: height of application window, or height of screen if * is specified Macintosh: height of main screen
Function resultLongintHeight 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