Sign in Join
FPDoc Onlineexperiment

TScreen.DesktopHeight property

Member of TScreenpublicIn unit Forms

The total vertical size for the desktop.

Declaration

pascal
property DesktopHeight: Integer read GetDesktopHeight;

Description

DesktopHeight is a read-only Integer property with the total height for the desktop. The property values is the result from GetSystemMetrics using the SM_CYVIRTUALSCREEN parameter.

DesktopHeight is used in the MoveToDefaultPosition method in TCustomForm. The values in DesktopLeft, DesktopTop, DesktopWidth and DesktopHeight are also assigned to members in the DesktopRect property.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.