Sign in Join
FPDoc Onlineexperiment

TScreen.DesktopWidth property

Member of TScreenpublicIn unit Forms

The total horizontal size for the desktop.

Declaration

pascal
property DesktopWidth: Integer read GetDesktopWidth;

Description

DesktopWidth is a read-only Integer property with the total width for the desktop. The property values is the result from GetSystemMetrics using the SM_CXVIRTUALSCREEN parameter.

DesktopWidth 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 development snapshots. Not the official Free Pascal or Lazarus documentation.