Sign in Join
FPDoc Onlineexperiment

TScreen.WorkAreaRect property

Member of TScreenpublicIn unit Forms

The usable display area on the primary monitor excluding the task bar.

Declaration

pascal
property WorkAreaRect: TRect read GetWorkAreaRect;

Description

WorkAreaRect is a read-only TRect property with the bounds for the usable display area on the primary monitor. It excludes the area covered by the system task bar. The return value is the result from the platform-specific SystemParametersInfo routine in the LCL interface using the SPI_GETWORKAREA parameter constant.

Use DesktopRect to get the bounds for the entire desktop spanning all monitors.

Use the Monitors property to access screen information for a specific monitor.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.