Vcl.Forms.TMonitor.WorkareaRect
Delphi
property WorkareaRect: TRect read GetWorkareaRect;
C++
__property Winapi::Windows::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.