Vcl.Forms.TMonitor.WorkareaRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WorkareaRect: TRect read GetWorkareaRect;

C++

__property System::Types::TRect WorkareaRect = {read=GetWorkareaRect};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TMonitor

Description

Gives the application useable area of the monitor.

WorkareaRect returns a TRect value furnished with the coordinates and dimensions of the work area of the Monitor. On Windows, for example, the application tabs at the screen mean that the Workarea is smaller than the monitor size.

Note: The TRect Right and Bottom values are one pixel beyond Workarea boundary. They are given these values to allow for easy calculation of Workarea width and height as (Right-Left) and (Bottom-Top) respectively.

See Also